Get rid of map

python3android
Peter Šurda 4 years ago
parent 3a4eed0f8b
commit 1cdbb90f22
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
  1. 4
      src/network/bmproto.py

@ -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…
Cancel
Save