mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
It works better with an int...
This commit is contained in:
@@ -8,7 +8,7 @@ if __name__ == "__main__":
|
||||
|
||||
main.init()
|
||||
conn = db.getconnection("amavis_quarantine")
|
||||
max_messages_age = parameters.get_admin("amavis_quarantine", "MAX_MESSAGES_AGE")
|
||||
max_messages_age = int(parameters.get_admin("amavis_quarantine", "MAX_MESSAGES_AGE"))
|
||||
|
||||
print "Deleting messages older than %d days..." % max_messages_age
|
||||
db.execute(conn, """
|
||||
|
||||
Reference in New Issue
Block a user