File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -114,35 +114,25 @@ def recalculatePoints(
114114 return response
115115 else :
116116 player_name_query = player_name_query .pop ()
117- # name = str(player_name_query[0])
118117
119118 ## Bonuses
120119 finished_bonuses_query = selectQuery (
121120 surftimer .queries .sql_stray_point_calc_countFinishedBonus .format (
122121 style , style , steamid32 , style
123122 )
124123 )
125- if len (finished_bonuses_query ) <= 0 :
126- response .status_code = status .HTTP_204_NO_CONTENT
127- return response
128124
129125 ## Stages
130126 finished_stages_query = selectQuery (
131127 surftimer .queries .sql_stray_point_calc_finishedStages .format (steamid32 , style )
132128 )
133- if len (finished_stages_query ) <= 0 :
134- response .status_code = status .HTTP_204_NO_CONTENT
135- return response
136129
137130 ## Maps
138131 finished_maps_query = selectQuery (
139132 surftimer .queries .sql_stray_point_calc_finishedMaps .format (
140133 style , style , steamid32 , style
141134 )
142135 )
143- if len (finished_maps_query ) <= 0 :
144- response .status_code = status .HTTP_204_NO_CONTENT
145- return response
146136
147137 # Create the JSON output
148138 output = {
You can’t perform that action at this time.
0 commit comments