mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-10 06:28:05 -05:00
derek
This commit is contained in:
@@ -22,7 +22,7 @@ def account_id() -> any:
|
||||
value, _ = winreg.QueryValueEx(registry_key, "AccountId")
|
||||
winreg.CloseKey(registry_key)
|
||||
return value
|
||||
except WindowsError:
|
||||
except OSError:
|
||||
return None
|
||||
|
||||
|
||||
@@ -77,5 +77,5 @@ def find_epic_executable() -> any:
|
||||
value, _ = winreg.QueryValueEx(registry_key, "ModSdkCommand")
|
||||
winreg.CloseKey(registry_key)
|
||||
return value
|
||||
except WindowsError: #pylint: disable=undefined-variable
|
||||
except OSError:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user