From f9d384cc6dfcc32a6fd0ddd28a468a92dc52072a Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 18 Nov 2022 11:32:25 +0000 Subject: [PATCH] prefs.py: Comment why `except OSError` being thrown away (wine check) --- prefs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prefs.py b/prefs.py index 8b372683..91123350 100644 --- a/prefs.py +++ b/prefs.py @@ -189,7 +189,7 @@ elif sys.platform == 'win32': winreg.OpenKey(reg, WINE_REGISTRY_KEY) is_wine = True - except OSError: + except OSError: # Assumed to be 'path not found', i.e. not-wine pass CalculatePopupWindowPosition = None