mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 22:05:09 +01:00
Print user keys on startup
This commit is contained in:
@@ -255,5 +255,10 @@ if __name__ == '__main__':
|
||||
Bookmark.create_table(True)
|
||||
User.create_table(True)
|
||||
|
||||
users = User.select()
|
||||
print 'Current user keys:'
|
||||
for user in users:
|
||||
print user.key
|
||||
|
||||
# run the application
|
||||
app.run(port=9999, debug=True)
|
||||
|
||||
Reference in New Issue
Block a user