Update app/utils/results.py
Co-authored-by: Ben Busby <noreply+git@benbusby.com>
This commit is contained in:
parent
ca1ff8e119
commit
eb7681e345
|
@ -248,8 +248,7 @@ def get_tabs_content(tabs: dict,
|
|||
|
||||
# update href with query
|
||||
query = full_query
|
||||
if '&tbm=' in full_query:
|
||||
query = full_query.replace(f"&tbm={search_type}", '')
|
||||
query = full_query.replace(f'&tbm={search_type}', '')
|
||||
|
||||
if tab_content['tbm'] is not None:
|
||||
query = f"{query}&tbm={tab_content['tbm']}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user