Fixing my bug in 453e045

python3android
Dmitri Bogomolov 3 years ago
parent d0d0b2ec84
commit f868c1ad11
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13
  1. 4
      src/class_singleWorker.py

@ -482,8 +482,8 @@ class singleWorker(threading.Thread, StoppableThread):
if Inventory().by_type_and_tag(objectType, tag):
return # not expired
payload = pack('>Q', (embeddedTime))
payload += str(bytearray([0, 0, 0, objectType]))
payload = pack('>Q', embeddedTime)
payload += pack('>I', objectType)
payload += encodeVarint(2 if len(peer.host) == 22 else 3)
payload += encodeVarint(streamNumber)
payload += objectPayload

Loading…
Cancel
Save