1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-12-03 22:49:11 +02:00

Changed keep to local variable

added dutch language texts for admin interface
This commit is contained in:
Marc Bertens - Administrator
2016-11-20 08:47:45 +01:00
parent b7a620f931
commit f09442fa9a
2 changed files with 515 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ def fetchmail(fetchmailrc):
return output
def run(connection, cursor, debug):
def run(connection, cursor, keep, debug):
cursor.execute("""
SELECT user_email, protocol, host, port, tls, username, password
FROM fetch
@@ -88,7 +88,7 @@ if __name__ == "__main__":
connection = sqlite3.connect(db_path)
while True:
cursor = connection.cursor()
run(connection, cursor, debug)
run(connection, cursor, keep, debug)
cursor.close()
time.sleep(int(os.environ.get("FETCHMAIL_DELAY", 60)))