You've already forked Mailu
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:
@@ -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)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user