minor bugfixes
This commit is contained in:
@@ -19,7 +19,7 @@ def is_int(val: str) -> bool:
|
||||
def parse_int(val: str, select: bool = True) -> Tuple[int, str]:
|
||||
try:
|
||||
val = int(val)
|
||||
if val is not 0:
|
||||
if val != 0:
|
||||
if val < 1:
|
||||
order = 'DESC'
|
||||
val *= -1
|
||||
|
||||
Reference in New Issue
Block a user