Repair debug entry point after using absolute imports

Using absolute imports broke the debug target due to
a Werkzeug bug:
https://github.com/pallets/werkzeug/issues/461
Solution is to avoid running Flask apps using
"python -m", and to use "flask run". This also
gets rid of the coverage exception for
"__main__.py".
This commit is contained in:
f4lco
2019-01-27 20:47:27 +01:00
parent b86284054f
commit 5ccbf57851
3 changed files with 1 additions and 8 deletions
-4
View File
@@ -1,4 +0,0 @@
# -*- encoding: utf-8 -*-
from views import app
app.run()