From a6de9c000de58f19b321c6534ac2938c610a5b10 Mon Sep 17 00:00:00 2001 From: mpeterv Date: Sun, 3 Apr 2016 13:47:08 +0300 Subject: [PATCH] Fix query_registry Why didn't pyflakes detect this? --- hererocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hererocks.py b/hererocks.py index ec60144..5d9a562 100755 --- a/hererocks.py +++ b/hererocks.py @@ -135,7 +135,7 @@ def query_registry(key, value): except WindowsError: pass else: - res = handler.QueryValueEx(handle, value)[0] + res = winreg.QueryValueEx(handle, value)[0] winreg.CloseKey(handle) return res