From 204812a699c0a62be9456d4da10476f3f17e68ae Mon Sep 17 00:00:00 2001 From: Julien Langlois Date: Wed, 1 Oct 2025 06:51:07 -0700 Subject: [PATCH] Fixup super method should not pass self as first argument --- shotgun_api3/shotgun.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shotgun_api3/shotgun.py b/shotgun_api3/shotgun.py index 67996c9f..1a35799f 100644 --- a/shotgun_api3/shotgun.py +++ b/shotgun_api3/shotgun.py @@ -4521,11 +4521,11 @@ def __init__(self, *args, **kwargs): """ # Pop that argument, self.__ca_certs = kwargs.pop("ca_certs") - super().__init__(self, *args, **kwargs) + super().__init__(*args, **kwargs) def connect(self): "Connect to a host on a given (SSL) port." - super().connect(self) + super().connect() # Now that the regular HTTP socket has been created, wrap it with our SSL certs. if (sys.version_info.major, sys.version_info.minor) >= (3, 8): context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)