fix call to custom_key_exists()

This commit is contained in:
eli fessler 2022-10-22 18:58:53 -10:00
parent 678cd46361
commit 36c8ca6ca6

2
s3s.py
View File

@ -1001,7 +1001,7 @@ def monitor_battles(which, secs, isblackout, istestrun):
cookies=dict(_gtoken=GTOKEN))
result = json.loads(result_post.text)
if False and utils.custom_key_exists("ignore_private"): # TODO - how to check for SR private battles?
if False and utils.custom_key_exists("ignore_private", CONFIG_DATA): # TODO - how to check for SR private battles?
pass
else:
outcome = "Clear" if result["data"]["coopHistoryDetail"]["resultWave"] == 0 else "Defeat"