Add a scheduler to the Flask application

This commit is contained in:
Pierre Jaury
2016-11-06 17:00:10 +01:00
parent d4f93e39db
commit c9aff0691b
3 changed files with 13 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
from mailu import app
import os
if __name__ == "__main__":
app.run(debug=True)
os.environ["DEBUG"] = "true"
from mailu import app
app.run()