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

Fix RSS link generation on user pages

Also removes a debug print (oops #2)
This commit is contained in:
TheAMM 2017-05-19 23:20:15 +03:00
parent 68b5bc045b
commit 358c75036b

View file

@ -289,7 +289,6 @@ def view_user(user_name):
category = chain_get(req_args, 'c', 'cats')
quality_filter = chain_get(req_args, 'f', 'filter')
user_name = chain_get(req_args, 'u', 'user')
page_number = chain_get(req_args, 'p', 'page', 'offset')
try:
page_number = max(1, int(page_number))
@ -309,7 +308,6 @@ def view_user(user_name):
'rss': False,
'per_page': results_per_page
}
print(query_args)
if flask.g.user:
query_args['logged_in_user'] = flask.g.user