Skip to content

Commit c41bb31

Browse files
committed
quality control
1 parent 6069ee8 commit c41bb31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

defs/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def strtoint(val : str) -> int:
2020
if isinstance(val, int): #is already int.
2121
return val
2222

23-
val = val.lower()
23+
val = val.lower().strip()
2424

2525
if val and val[0] == 'x':
2626
val = val[1:]

0 commit comments

Comments
 (0)