fix pr feedbacks

This commit is contained in:
2024-09-24 14:24:06 +02:00
parent 181bded7ec
commit a805c553a9
2 changed files with 34 additions and 40 deletions
-5
View File
@@ -73,11 +73,6 @@ class Sender:
if contact.store is not None and contact.store != "random":
_selected_store = contact.store
self.logger.info("store is:{}".format(_selected_store))
if "lang=" not in self.cookie_str:
self.cookie_str = self.cookie_str + "; lang=en"
else:
self.cookie_str.replace("lang=fr", "lang=en")
self.logger.info("cookie_str is:{}".format(self.cookie_str))
headers = {'Content-Type': 'application/x-www-form-urlencoded',
'User-Agent': js_data.ua,