Skip to content

Commit 03b1319

Browse files
committed
don't pop
1 parent e8357e9 commit 03b1319

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

surftimer/ck_bonus.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ def viewBonusRunRank(
553553
style: int,
554554
):
555555
"""```char sql_stray_viewBonusRunRank[] = ....```\n
556+
Returns the supposed rank for the data inputted\n
556557
Get count of rows with time faster than `runtime`, to get exact player bonus rank"""
557558
tic = time.perf_counter()
558559

@@ -651,9 +652,7 @@ def selectPersonalBonusPrestrafeSpeeds(
651652
)
652653
)
653654

654-
if xquery:
655-
xquery = xquery.pop()
656-
else:
655+
if len(xquery) <= 0:
657656
response.status_code = status.HTTP_204_NO_CONTENT
658657
return response
659658

0 commit comments

Comments
 (0)