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

typo

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