mirror of
https://github.com/frozenpandaman/s3s.git
synced 2026-09-30 21:27:18 -05:00
fix error printing with -i from 470369e
This commit is contained in:
2
s3s.py
2
s3s.py
@@ -1084,7 +1084,7 @@ def post_result(data, ismonitoring, isblackout, istestrun, overview_data=None):
|
||||
if postbattle.status_code != 201: # Created (or already exists)
|
||||
print(f"Error uploading {utils.set_noun(which)[:-1]}.")
|
||||
detail_type = "vsHistoryDetail" if which == "ink" else "coopHistoryDetail"
|
||||
result_id = data["data"][detail_type]["id"]
|
||||
result_id = results[i]["data"][detail_type]["id"]
|
||||
print(f"{utils.set_noun(which)[:-1].capitalize()} ID: {result_id}")
|
||||
print("Message from server:")
|
||||
print(postbattle.content.decode('utf-8'))
|
||||
|
||||
Reference in New Issue
Block a user