temporary disable sys.exit

This commit is contained in:
deflax 2024-01-15 04:55:12 +02:00
parent 05f9770bfe
commit 13fb4161bf

View file

@ -242,7 +242,7 @@ try:
except Exception as err:
logger_api.error('Client login error')
logger_api.error(err)
sys.exit(1)
#sys.exit(1)
# Schedule sync jobs
scheduler.add_job(func=core_api_sync, trigger="interval", seconds=CORE_SYNC_PERIOD, id="core_api_sync")
@ -251,7 +251,6 @@ scheduler.add_job(func=core_api_sync, trigger="interval", seconds=CORE_SYNC_PERI
scheduler.start()
# Flask API
@app.route('/', methods=['GET'])
def root_route():
about_json = { 'about': 'deflax tv api' }