From 77d426e084486927ab5c034bacc032c49850d373 Mon Sep 17 00:00:00 2001 From: Pierre Jaury Date: Sun, 20 Mar 2016 15:37:48 +0100 Subject: [PATCH] Fix some typos --- admin/initdb.py | 4 ++-- admin/run.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/initdb.py b/admin/initdb.py index 2c220e3b..a3f6733a 100644 --- a/admin/initdb.py +++ b/admin/initdb.py @@ -1,4 +1,4 @@ -from freeposte import db, models +from freeposte.admin import db, models from passlib import hash @@ -10,7 +10,7 @@ user = models.User( localpart="admin", domain=domain, global_admin=True, - password=hash.sha512_crypt.encrypt("admin"). + password=hash.sha512_crypt.encrypt("admin") ) db.session.add(domain) diff --git a/admin/run.py b/admin/run.py index 423ff78f..9b9768eb 100644 --- a/admin/run.py +++ b/admin/run.py @@ -2,4 +2,4 @@ from freeposte import app, db if __name__ == '__main__': - app.run() + app.run(debug=True)