fix pr feedbacks
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user