This website works better with JavaScript.
Home
Explore
Help
Sign In
JustAnotherArchivist
/
little-things
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix negative ints
master
JustAnotherArchivist
1 year ago
parent
232a430946
commit
5a8bab3a01
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
torrent-tiny
+ 1
- 1
torrent-tiny
View File
@@ -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
Write
Preview
Loading…
Cancel
Save