fucking retard am i

This commit is contained in:
Alexandru 2024-09-19 20:47:19 +03:00
parent 885c07d0ba
commit 5274f76ef8

2
app.py
View File

@ -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('/g')
@app.route('/')
def index():
statement = 'SELECT "id", "name", "website", "comment", "date", "ip" FROM "entries" ORDER BY id DESC'
cs.execute(statement)