__main__.py hinzugefügt, wsgi.py entfernt

This commit is contained in:
nelsbrock committed 2021-08-10 17:53:30 +02:00
1 parent f31c4e802f
commit 30c5c85aa8
3 files changed
+2 -13

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
include wsgi.py
graft nateman/resources graft nateman/resources
graft nateman/static graft nateman/static
graft nateman/templates 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()