This repository has been archived on 2023-10-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyNyaaTa/run.py
Michel Roux 0bae69ef2f
All checks were successful
continuous-integration/drone/push Build is passing
Change arch to be able to deploy to pypi
2020-04-09 20:47:56 +02:00

13 lines
266 B
Python

from logging import getLogger
from time import sleep
from pynyaata.config import app, APP_PORT, IS_DEBUG
while True:
try:
app.run('0.0.0.0', APP_PORT, IS_DEBUG)
except Exception as e:
getLogger().exception(e)
sleep(10)
pass