1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-07 00:15:10 +01:00

Print user keys on startup

This commit is contained in:
2016-07-19 21:21:29 +02:00
parent ebc1e93f21
commit 8133b26f2a

View File

@@ -255,5 +255,10 @@ if __name__ == '__main__':
Bookmark.create_table(True) Bookmark.create_table(True)
User.create_table(True) User.create_table(True)
users = User.select()
print 'Current user keys:'
for user in users:
print user.key
# run the application # run the application
app.run(port=9999, debug=True) app.run(port=9999, debug=True)