It works better with an int...

This commit is contained in:
tonio
2010-06-18 16:39:38 +02:00
parent f6afc36062
commit ee03742e3f
+1 -1
View File
@@ -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, """