ソースを参照

Fix negative ints

master
JustAnotherArchivist 1年前
コミット
5a8bab3a01
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      torrent-tiny

+ 1
- 1
torrent-tiny ファイルの表示

@@ -57,7 +57,7 @@ def read_int(fp, c = b'', end = b'e'):
c = fp.read(1)
if c == end:
break
elif c in b'0123456789':
elif c in b'-0123456789':
i += c
else:
raise ValueError


読み込み中…
キャンセル
保存