mirror of
https://github.com/frozenpandaman/s3s.git
synced 2026-07-22 02:10:33 -05:00
avoid SR typeerror (fix #99/#100)
Co-authored-by: eli <frozenpandaman@users.noreply.github.com>
This commit is contained in:
parent
65ae3619fb
commit
d61e2a8803
2
s3s.py
2
s3s.py
|
|
@ -931,7 +931,7 @@ def prepare_job_result(job, ismonitoring, isblackout, overview_data=None, prevre
|
|||
try:
|
||||
payload["title_before"] = utils.b64d(prev_job["data"]["coopHistoryDetail"]["afterGrade"]["id"])
|
||||
payload["title_exp_before"] = prev_job["data"]["coopHistoryDetail"]["afterGradePoint"]
|
||||
except KeyError: # private or disconnect, or the json was invalid (expired job >50 ago) or something
|
||||
except KeyError and TypeError: # private or disconnect, or the json was invalid (expired job >50 ago) or something
|
||||
pass
|
||||
except json.decoder.JSONDecodeError:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user