implemented producer/consumer system with asyncio

This commit is contained in:
muskit
2022-09-26 02:44:26 -07:00
committed by msk
parent 0038439728
commit 4575466874
7 changed files with 128 additions and 83 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ def __create_dict(file, _dict):
if len(words) == 2 and line[0] != '#':
name, id = line.split()
talents[int(id)] = name
name = util.get_username_online(id) # attempt to get updated name
# name = util.get_username_online(id) # attempt to get updated name
talents[int(id)] = name
_dict[int(id)] = name
def init():