Commit ea51d5fe authored by Sli's avatar Sli

Ajout du dl automatique d'apk

parent 37ffa3c9
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Author: klmp200
# @Date: 2016-07-03 17:57:28
......@@ -6,12 +6,15 @@
# @Last Modified time: 2016-07-04 17:50:18
from bottle import Bottle, static_file, request
from bottle.ext import sqlite
import os
app = Bottle()
plugin = sqlite.Plugin(dbfile='../data/sqliteDB.db')
def GetApp():
return static_file("app.apk", root="../data/")
def GetKeys():
......@@ -70,6 +73,6 @@ def UpdateEntry(db, data, obj):
return dict(response)'localhost', port=8080, debug=True)'', port=8080, debug=True)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment