Skip to content

Commit 7caa246

Browse files
committed
don't pop*
1 parent 03b1319 commit 7caa246

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

surftimer/ck_bonus.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -704,9 +704,7 @@ def selectMapRankBonusStyle(
704704
)
705705
)
706706

707-
if xquery:
708-
xquery = xquery.pop()
709-
else:
707+
if len(xquery) <= 0:
710708
response.status_code = status.HTTP_204_NO_CONTENT
711709
return response
712710

0 commit comments

Comments
 (0)