Well that definitely wasn't going to work

This commit is contained in:
Zergling_man 2023-05-14 15:14:12 +10:00
parent 98d86c829e
commit 8f3bc473b0

View File

@ -32,7 +32,7 @@ def load_conf():
nhash=int(header[0]); names=set(header[1:]) # Makes deduping way easier
medals={}
if ':' in lines[-1]: # Since this isn't used in any other line, it's safe
medals={n.split(':')[0]:n.split(':')[1] for n in lines.pop(-1).split(' ')}
medals={int(n.split(':')[0]):int(n.split(':')[1]) for n in lines.pop(-1).split(' ')}
stuff={k:parse_conf_line(v) for k,v in zip(tables.displays_str[:-1],lines[1:])}
conf[nhash]={'names':names}|stuff|{'medals':medals}
update_all_talents()