temporary disable sys.exit
This commit is contained in:
parent
05f9770bfe
commit
13fb4161bf
1 changed files with 1 additions and 2 deletions
|
@ -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' }
|
||||
|
|
Loading…
Reference in a new issue