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

Rename the freeposte/mailu directory and database

This commit is contained in:
Pierre Jaury
2016-10-29 13:42:39 +02:00
parent 4988a05a59
commit 013286b8e1
126 changed files with 1050 additions and 1056 deletions

View File

@@ -61,7 +61,7 @@ def run(connection, cursor):
except subprocess.CalledProcessError as error:
error_message = error.output.decode("utf8")
# No mail is not an error
if not (error_message.startswith("fetchmail: No mail")):
if not (error_message.startswith("fetchmail: No mail")):
# activate the next statement to log the poll command
# Warning: the poll command contains the mailbox password
# in clear text
@@ -77,7 +77,7 @@ def run(connection, cursor):
if __name__ == "__main__":
db_path = os.environ.get("DB_PATH", "/data/freeposte.db")
db_path = os.environ.get("DB_PATH", "/data/main.db")
connection = sqlite3.connect(db_path)
while True:
cursor = connection.cursor()