Commit ac6daa56 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

bugfix

parent a9c40ab3
......@@ -155,7 +155,7 @@ def cleanup():
cur.execute("select user_index,login from users where expires_at < now();")
old_users_entries = cur.fetchall()
old_users = ','.join( str(u[0]) for u in old_users_entries )
logging.debug("Users to delete : %s"%(len(old_users), old_users))
logging.debug("Users to delete : %s"%(len(old_users_entries), old_users))
try :
cur.execute("""
delete from credentials where user_index in (%s)
......
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