Skip to content

Commit 41f8847

Browse files
Adam Dobrawyclaude
andcommitted
[Fix] Remove redundant cookies serialization from ProxyMixin
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: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 491589a commit 41f8847

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)