More linter fixes maybe?

This commit is contained in:
J-Doiron
2025-02-17 16:12:45 -08:00
parent e135038a04
commit b8e229f084
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ def wait_for_benchmark_process(test_name, process_name, timeout=60):
# If we exceed the timeout, break out of the loop and log an error
if time.time() - start_time > timeout:
logging.error("Timeout reached while waiting for process '%s'.", process_name)
raise TimeoutError("Process '%s' did not start within the expected time. Is the game configured for DX12?", process_name)
raise TimeoutError("Process '%s' did not start within the expected time. Is the game configured for DX12?" % process_name)
# Wait for 1 second before checking again
time.sleep(1)

View File

@@ -31,7 +31,7 @@ def export_registry_key(hive, subkey, input_file):
index += 1
except OSError:
pass
except WindowsError as e:
except OSError as e:
print(f"Failed to open the registry key: {e}")
def convert_dword_to_decimal(dword_hex):