fundamental progression, fixes
This commit is contained in:
+4
-1
@@ -7,14 +7,17 @@ niji_exid = dict()
|
||||
talents = dict()
|
||||
|
||||
def __create_dict(file, _dict):
|
||||
print(f'Initializing talents\' account list from {file}...')
|
||||
global talents
|
||||
with open(file, 'r') as f:
|
||||
for line in f:
|
||||
words = line.split()
|
||||
if len(words) == 2 and line[0] != '#':
|
||||
name, id = line.split()
|
||||
_dict[int(id)] = name
|
||||
talents[int(id)] = name
|
||||
name = util.get_username_online(id) # attempt to get updated name
|
||||
talents[int(id)] = name
|
||||
_dict[int(id)] = name
|
||||
def init():
|
||||
global holo_en
|
||||
global holo_id
|
||||
|
||||
Reference in New Issue
Block a user