aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLouis Vézina <[email protected]>2020-04-27 23:03:24 -0400
committerLouis Vézina <[email protected]>2020-04-27 23:03:24 -0400
commit31ab81907940403c1677f06418b44d7830ccb82e (patch)
tree8b0dcdf0ff6c1a2ba745d3804a57e66fd8600b44
parentfe2a4aa067a6ecd43bc9f663bc839c33f50835e8 (diff)
downloadbazarr-31ab81907940403c1677f06418b44d7830ccb82e.tar.gz
bazarr-31ab81907940403c1677f06418b44d7830ccb82e.zip
Fix for #952.
-rw-r--r--bazarr.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bazarr.py b/bazarr.py
index d4929937a..f9e5d1c3f 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -80,6 +80,9 @@ if __name__ == '__main__':
while True:
check_status()
try:
- time.sleep(5)
+ if sys.platform.startswith('win'):
+ time.sleep(5)
+ else:
+ os.wait()
except (KeyboardInterrupt, SystemExit):
pass