fix error gunicorn

This commit is contained in:
vincent 2019-04-29 16:55:30 +02:00
parent dc61708d46
commit 8fc67cccce

View File

@ -1,4 +1,5 @@
if __name__ == '__main__':
from chainetv.app import create_app from chainetv.app import create_app
app= create_app() app= create_app()
if __name__ == '__main__':
app.run() app.run()