mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-09 22:18:00 -05:00
it ain't easy being linty
This commit is contained in:
@@ -153,7 +153,9 @@ try:
|
||||
logging.error("Procyon exited with return code %d", pr.returncode)
|
||||
sys.exit(pr.returncode)
|
||||
|
||||
score = find_score_in_xml(BENCHMARK_CONFIG[args.engine]["result_regex"])
|
||||
results_regex = BENCHMARK_CONFIG[args.engine]["result_regex"]
|
||||
score = find_score_in_xml(results_regex)
|
||||
|
||||
if score is None:
|
||||
logging.error("Could not find overall score!")
|
||||
sys.exit(1)
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
"""3dmark test utils"""
|
||||
from pathlib import Path
|
||||
import psutil
|
||||
import xml.etree.ElementTree as ET
|
||||
import winreg
|
||||
import re
|
||||
|
||||
@@ -33,4 +32,4 @@ def get_install_path() -> str:
|
||||
reg_path = r"Software\UL\Procyon"
|
||||
reg_key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, reg_path, 0, winreg.KEY_READ)
|
||||
value, _ = winreg.QueryValueEx(reg_key, "InstallDir")
|
||||
return value
|
||||
return value
|
||||
|
||||
Reference in New Issue
Block a user