1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 15:50:00 +00:00

Fix keyError from pop (#407)

Remind me not to ever merge anything ever again
This commit is contained in:
Andrew Zhao 2017-11-06 13:52:26 -08:00 committed by Anna-Maria Meriniemi
parent c0be2571e1
commit f6735219f0

View file

@ -66,7 +66,7 @@ def static_cachebuster(filename):
def modify_query(**new_values): def modify_query(**new_values):
args = flask.request.args.copy() args = flask.request.args.copy()
args.pop('p') args.pop('p', None)
for key, value in new_values.items(): for key, value in new_values.items():
args[key] = value args[key] = value