Making linter happier

This commit is contained in:
J-Doiron
2025-01-14 09:55:30 -08:00
parent dbf5e54816
commit 931778bf9d
2 changed files with 4 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ def run_benchmark():
setup_start_time = time.time()
start_game()
time.sleep(30) # wait for game to load into main menu
#Looking for Syncing Failed message
if kerasService.wait_for_word(word="failed", timeout=5, interval=1):
gamepad.single_button_press(button=vg.DS4_BUTTONS.DS4_BUTTON_CROSS)
@@ -80,7 +80,7 @@ def run_benchmark():
gamepad.single_button_press(button=vg.DS4_BUTTONS.DS4_BUTTON_CROSS)
#Looking for news menu close button
if kerasService.wait_for_word(word="close", timeout=5, interval=1):
if kerasService.wait_for_word(word="close", timeout=5, interval=1):
gamepad.single_button_press(button=vg.DS4_BUTTONS.DS4_BUTTON_CIRCLE)
time.sleep(3)
@@ -132,7 +132,7 @@ def run_benchmark():
if kerasService.wait_for_word(word="watch", timeout=60, interval=0.5) is None:
logging.error("Didn't navigate to the saved replays correctly. Check menu options for any anomalies.")
sys.exit(1)
gamepad.single_button_press(button=vg.DS4_BUTTONS.DS4_BUTTON_CROSS)
setup_end_time = time.time()