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