mirror of
https://github.com/simon987/nyaa.git
synced 2025-04-20 10:46:42 +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…
x
Reference in New Issue
Block a user