Get rid of map

This commit is contained in:
Peter Šurda 2018-12-20 20:33:27 +01:00
parent 3a4eed0f8b
commit 1cdbb90f22
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
1 changed files with 2 additions and 2 deletions

View File

@ -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):