mirror of
https://github.com/ProjectSynthoria/SynthoriaArchive.git
synced 2025-03-12 15:26:56 +02:00
Fix RSS link generation on user pages
Also removes a debug print (oops #2)
This commit is contained in:
parent
68b5bc045b
commit
358c75036b
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue