eeee
This commit is contained in:
parent
0ca6a2b490
commit
c873616f04
2
app.py
2
app.py
@ -13,7 +13,7 @@ app.secret_key = hashlib.md5(os.urandom(32)).hexdigest()
|
||||
def parsetime(value):
|
||||
return time.strftime('%Y-%m-%d %H:%M', time.localtime(value))
|
||||
|
||||
@app.route('/')
|
||||
@app.route('/gb')
|
||||
def index():
|
||||
statement = 'SELECT "id", "name", "website", "comment", "date", "ip" FROM "entries" ORDER BY id DESC'
|
||||
cs.execute(statement)
|
||||
|
Loading…
Reference in New Issue
Block a user