CONSISTENCY! Removed all dots in docs, removed blank lines and useless try/except, uppercased all sql statements
This commit is contained in:
@@ -20,10 +20,10 @@ def parse_int(val: str, select: bool = True) -> Tuple[int, str]:
|
||||
val = int(val)
|
||||
if val is not 0:
|
||||
if val < 1:
|
||||
order = 'desc'
|
||||
order = 'DESC'
|
||||
val *= -1
|
||||
else:
|
||||
order = 'asc'
|
||||
order = 'ASC'
|
||||
if select:
|
||||
val -= 1
|
||||
return val, order
|
||||
|
||||
Reference in New Issue
Block a user