Get rid of map
This commit is contained in:
parent
3a4eed0f8b
commit
1cdbb90f22
|
@ -282,8 +282,8 @@ class BMProto(AdvancedDispatcher, ObjectTracker):
|
|||
now = time.time()
|
||||
if now < self.skipUntil:
|
||||
return True
|
||||
for i in map(str, items):
|
||||
self.pendingUpload[i] = now
|
||||
for i in items:
|
||||
self.pendingUpload[str(i)] = now
|
||||
return True
|
||||
|
||||
def _command_inv(self, dandelion=False):
|
||||
|
|
Loading…
Reference in New Issue
Block a user