diff options
author | Louis Vézina <[email protected]> | 2020-04-27 23:03:24 -0400 |
---|---|---|
committer | Louis Vézina <[email protected]> | 2020-04-27 23:03:24 -0400 |
commit | 31ab81907940403c1677f06418b44d7830ccb82e (patch) | |
tree | 8b0dcdf0ff6c1a2ba745d3804a57e66fd8600b44 /bazarr.py | |
parent | fe2a4aa067a6ecd43bc9f663bc839c33f50835e8 (diff) | |
download | bazarr-31ab81907940403c1677f06418b44d7830ccb82e.tar.gz bazarr-31ab81907940403c1677f06418b44d7830ccb82e.zip |
Fix for #952.
Diffstat (limited to 'bazarr.py')
-rw-r--r-- | bazarr.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |