mirror of
https://github.com/frozenpandaman/s3s.git
synced 2026-03-21 17:46:40 -05:00
override default shortname for new stage
This commit is contained in:
parent
c2b487829a
commit
16a7351a58
2
s3s.py
2
s3s.py
|
|
@ -1543,6 +1543,8 @@ def check_for_new_results(which, cached_battles, cached_jobs, battle_wins, battl
|
|||
shortname = stagename.split(" ")[-1]
|
||||
if shortname == "d'Alfonsino": # lol franch
|
||||
shortname = "Museum"
|
||||
elif shortname == "Co.":
|
||||
shortname = "Cargo"
|
||||
endtime = utils.epoch_time(result["data"]["vsHistoryDetail"]["playedTime"]) + \
|
||||
result["data"]["vsHistoryDetail"]["duration"]
|
||||
dt = datetime.datetime.fromtimestamp(endtime).strftime('%I:%M:%S %p').lstrip("0")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user