mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-30 10:51:52 +00:00
Fix for #952.
This commit is contained in:
parent
fe2a4aa067
commit
31ab819079
1 changed files with 4 additions and 1 deletions
|
@ -80,6 +80,9 @@ if __name__ == '__main__':
|
||||||
while True:
|
while True:
|
||||||
check_status()
|
check_status()
|
||||||
try:
|
try:
|
||||||
time.sleep(5)
|
if sys.platform.startswith('win'):
|
||||||
|
time.sleep(5)
|
||||||
|
else:
|
||||||
|
os.wait()
|
||||||
except (KeyboardInterrupt, SystemExit):
|
except (KeyboardInterrupt, SystemExit):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue