1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-26 17:47:20 +00:00

Merge remote-tracking branch 'origin/development' into development

This commit is contained in:
Louis Vézina 2019-06-02 19:20:30 -04:00
commit 2745666945

View file

@ -39,7 +39,6 @@ if __name__ == '__main__':
pass
def daemon():
threading.Timer(1.0, daemon).start()
if os.path.exists(stopfile):
try:
os.remove(stopfile)
@ -57,12 +56,9 @@ if __name__ == '__main__':
else:
start_bazarr()
daemon()
start_bazarr()
# Keep the script running forever.
while True:
time.sleep(0.001)
daemon()
time.sleep(1)