__main__.py hinzugefügt, wsgi.py entfernt

This commit is contained in:
2021-08-10 17:53:30 +02:00
parent f31c4e802f
commit 30c5c85aa8
3 changed files with 2 additions and 13 deletions
-1
View File
@@ -1,4 +1,3 @@
include wsgi.py
graft nateman/resources
graft nateman/static
graft nateman/templates
+2
View File
@@ -0,0 +1,2 @@
from . import create_app
create_app().run()
-12
View File
@@ -1,12 +0,0 @@
"""
WSGI-Schnittstelle. Startet NateMan.
von Niklas Elsbrock
"""
from nateman import create_app
if __name__ == "__main__":
create_app().run()
else:
app = create_app()