Skip to content

Commit 8c34a09

Browse files
ad-mAdam Dobrawyclaude
authored
[Fix] Remove redundant cookies serialization from ProxyMixin (#111)
ProxyMixin.serialize referenced self.cookies but ProxyMixin doesn't define it — relying on CookieMixin being in the MRO. This would crash if ProxyMixin were composed without CookieMixin. The block was also redundant since CookieMixin.serialize already handles cookies. Co-authored-by: Adam Dobrawy <naczelnik@jawne.info.pl> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7b18d57 commit 8c34a09

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

python_anticaptcha/tasks.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ def serialize(self, **result):
4949
if self.proxyLogin:
5050
data["proxyLogin"] = self.proxyLogin
5151
data["proxyPassword"] = self.proxyPassword
52-
if self.cookies:
53-
data["cookies"] = self.cookies
5452
return data
5553

5654

0 commit comments

Comments
 (0)