From 516a2a9f3ab0f23bb98533cb81a8e1fd590ba046 Mon Sep 17 00:00:00 2001 From: Alejandro Perez Lopez Date: Sat, 30 Sep 2023 18:19:56 +0200 Subject: [PATCH] Missing replace assigment (the change was not included into the commit by mistake) --- bot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/bot.py b/bot/bot.py index 9d4e5b8..3c50e10 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -62,7 +62,7 @@ def extract_amazon_url_with_referer(text: str): product_code = product_code_regex_result.group(0) if vendor_and_smid_result: extra_params = (''.join(str(w) for w in vendor_and_smid_result if w is not None)) - extra_params.replace('?','&') + extra_params = extra_params.replace('?','&') return helpers.new_refer_url(product_code, extra_params)