forked from ticketfrei/ticketfrei
Merge pull request #50 from ticketfrei/rate-limit-39
missing newlines in /etc/aliases
This commit is contained in:
commit
9a3c09b119
2
db.py
2
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,
|
||||
|
|
Loading…
Reference in a new issue