Commit 3d1db573 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files


parent 6398f28a
......@@ -138,7 +138,7 @@ def cleanup():
Clean old temporary logins and passwords in both databases.
""""Cleaning up expired temporary accounts")"Cleaning up expired temporary accounts")
conn = psycopg2.connect(dbname= application.config['AUTHDBNAME'],
port = application.config['AUTHDBPORT'],
......@@ -190,7 +190,7 @@ def cleanup():
""", (old_users,))
conn.close()"Deleted %d/%d expired accounts")%(len(old_users_entries), expired_accounts)"Deleted %d/%d expired accounts")%(len(old_users_entries), expired_accounts)
return Response("Deleted %d expired accounts."%(len(old_users_entries)), status=200)
@application.route("/", methods=['POST'])
Supports Markdown
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