From eb7681e34539ab4ecf256bfc880f41568a714ff5 Mon Sep 17 00:00:00 2001 From: "Joao A. Candido Ramos" Date: Fri, 19 Nov 2021 09:34:32 +0100 Subject: [PATCH] Update app/utils/results.py Co-authored-by: Ben Busby --- app/utils/results.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/utils/results.py b/app/utils/results.py index 77bdc02..79cd7d6 100644 --- a/app/utils/results.py +++ b/app/utils/results.py @@ -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']}"