diff --git a/app/filter.py b/app/filter.py index 6bc5e81..efa786f 100644 --- a/app/filter.py +++ b/app/filter.py @@ -134,8 +134,8 @@ class Filter: # Remove original link query and replace with filtered args query_link = query_link.replace(parsed_link.query, '') - if len(safe_args) > 1: - query_link = query_link + urlparse.urlencode(safe_args) + if len(safe_args) > 0: + query_link = query_link + urlparse.urlencode(safe_args, doseq=True) else: query_link = query_link.replace('?', '')