mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 10:19:59 +00:00
Fix keyError from pop (#407)
Remind me not to ever merge anything ever again
This commit is contained in:
parent
c0be2571e1
commit
f6735219f0
|
@ -66,7 +66,7 @@ def static_cachebuster(filename):
|
|||
def modify_query(**new_values):
|
||||
args = flask.request.args.copy()
|
||||
|
||||
args.pop('p')
|
||||
args.pop('p', None)
|
||||
|
||||
for key, value in new_values.items():
|
||||
args[key] = value
|
||||
|
|
Loading…
Reference in a new issue