From 3ef4780d16bba51415b1a6fa2c81ef9dc64d9820 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 15 Oct 2019 18:22:35 +0300 Subject: [PATCH] Error handling in system info gatherer fixed --- monkey/infection_monkey/system_info/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/system_info/__init__.py b/monkey/infection_monkey/system_info/__init__.py index 53324afb7..ab8e0f7ba 100644 --- a/monkey/infection_monkey/system_info/__init__.py +++ b/monkey/infection_monkey/system_info/__init__.py @@ -16,7 +16,7 @@ LOG = logging.getLogger(__name__) try: WindowsError except NameError: - WindowsError = None + WindowsError = psutil.AccessDenied __author__ = 'uri'