From c4b2964b2949ad70fd7a3c92f3816c6f55cda085 Mon Sep 17 00:00:00 2001 From: AuroraWright Date: Sat, 27 Jan 2024 09:01:14 +0100 Subject: [PATCH] Minor changes --- owocr/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owocr/run.py b/owocr/run.py index c6d8fed..cc21ab7 100644 --- a/owocr/run.py +++ b/owocr/run.py @@ -470,7 +470,7 @@ def run(read_from='clipboard', if read_from == 'clipboard' and windows_clipboard_polling: win32api.PostThreadMessage(windows_clipboard_thread.thread_id, win32con.WM_QUIT, 0, 0) windows_clipboard_thread.join() - if read_from == 'screencapture' and screencapture_window_mode: + elif read_from == 'screencapture' and screencapture_window_mode: target_window.watchdog.stop() user_input_thread.join() tmp_paused_listener.stop()