Commit 5eac0b83f2fbddd53239b409a5c58092c5c8b508
1 parent
5261089a
Exists in
master
and in
39 other branches
Fixing append_to_get method
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/super_archives/utils/url.py
@@ -17,7 +17,7 @@ def append_to_get(path, query=None, **kwargs): | @@ -17,7 +17,7 @@ def append_to_get(path, query=None, **kwargs): | ||
17 | if new in current_url: | 17 | if new in current_url: |
18 | continue | 18 | continue |
19 | 19 | ||
20 | - if key not in current_url: | 20 | + if u'&{}='.format(key) not in current_url: |
21 | current_url += u'{}={}&'.format(key, value) | 21 | current_url += u'{}={}&'.format(key, value) |
22 | continue | 22 | continue |
23 | 23 |