mirror of https://xfnw.ttm.sh/git/oirc.git
why does dict2 = dict1 not make a copy, wtaf
This commit is contained in:
parent
c5c647bfda
commit
88167824bc
|
@ -9,7 +9,7 @@ async def on_all(self,wtime=100):
|
|||
print('will index users in ',wtime)
|
||||
await asyncio.sleep(wtime)
|
||||
print('started indexing users')
|
||||
users = self.users
|
||||
users = self.users.copy()
|
||||
for person in users:
|
||||
user = self.users[person]
|
||||
await asyncio.sleep(0)
|
||||
|
|
Loading…
Reference in New Issue