utils/codelist: Fix TypeError that occurred on any input
This commit is contained in:
parent
9982afb21f
commit
2b1ebdc204
1 changed files with 1 additions and 1 deletions
|
@ -39,5 +39,5 @@ def printbyrange(lst):
|
|||
out += "%d-%d," % tuple(elt)
|
||||
return out[:-1]
|
||||
|
||||
codepoints = [int(x.strip) for x in sys.stdin.readlines()]
|
||||
codepoints = [int(x.strip()) for x in sys.stdin.readlines()]
|
||||
print printbyrange(rangeify(codepoints))
|
||||
|
|
Loading…
Add table
Reference in a new issue