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'