From 31ab81907940403c1677f06418b44d7830ccb82e Mon Sep 17 00:00:00 2001 From: Louis Vézina <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 27 Apr 2020 23:03:24 -0400 Subject: Fix for #952. --- bazarr.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bazarr.py') 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 -- cgit v1.2.3