From 30de2196aca77e7dadb8935141525472bd52d3b3 Mon Sep 17 00:00:00 2001 From: b3yond Date: Sun, 7 Oct 2018 23:01:14 +0200 Subject: [PATCH] missing newlines in /etc/aliases --- db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.py b/db.py index 8ca509f..8212560 100644 --- a/db.py +++ b/db.py @@ -252,7 +252,7 @@ u\d\d?""" else: uid = json['uid'] with open("/etc/aliases", "a+") as f: - f.write(city + ": " + config["mail"]["mbox_user"]) + f.write(city + ": " + config["mail"]["mbox_user"] + "\n") self.execute("INSERT INTO email (user_id, email) VALUES(?, ?);", (uid, json['email'])) self.execute("""INSERT INTO telegram_accounts (user_id, apikey,