Pārlūkot izejas kodu

Fix infohash

master
JustAnotherArchivist pirms 1 gada
vecāks
revīzija
3b0201cdeb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      torrent-tiny

+ 1
- 1
torrent-tiny Parādīt failu

@@ -101,7 +101,7 @@ def bdecode(fp, display = False, infoWrite = None):
continue
elif c in b'0123456789': # Key
key = read_str(fp, c)
if len(stateStack) == 2 and key == b'info' and infoWrite: # If in global dict and this is the 'info' value and a copy is desired...
if len(stateStack) == 2 and key == 'info' and infoWrite: # If in global dict and this is the 'info' value and a copy is desired...
inInfo = True
fp = CopyingFileReader(fp, infoWrite)
v = read_or_stack_value(fp, stateStack)


Notiek ielāde…
Atcelt
Saglabāt