swap user ID and username in talent lists
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ def __create_dict(file, _dict, company):
|
||||
for line in f:
|
||||
words = line.split()
|
||||
if len(words) == 2 and line[0] != '#':
|
||||
name, id = line.split()
|
||||
id, name = line.split()
|
||||
# name = f'{util.get_username_online(id, default=name)}' # attempt to get updated name
|
||||
talents[int(id)] = name
|
||||
_dict[int(id)] = name
|
||||
|
||||
Reference in New Issue
Block a user