mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-07 18:22:46 -05:00
Compare commits
No commits in common. "db49d28de5ebcf2b530a64046b3ab6e65be5ccfb" and "4efdded7e18f096a684eec5489500b3dfc9e9a80" have entirely different histories.
db49d28de5
...
4efdded7e1
@ -1,7 +1,6 @@
|
||||
import os
|
||||
import sys
|
||||
import argparse
|
||||
import time
|
||||
|
||||
from fHDHR import fHDHR_VERSION, fHDHR_OBJ
|
||||
import fHDHR.exceptions
|
||||
@ -52,9 +51,8 @@ def run(settings, logger, db, script_dir, fHDHR_web, origin, alternative_epg):
|
||||
fhdhr.api.get("/api/startup_tasks")
|
||||
|
||||
# wait forever
|
||||
restart_code = "restart"
|
||||
while fhdhr.threads["flask"].is_alive():
|
||||
time.sleep(1)
|
||||
restart_code = "restart"
|
||||
return restart_code
|
||||
|
||||
except KeyboardInterrupt:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user