From a297f0b42bb92a84176369c4fd437b67cb67a8e2 Mon Sep 17 00:00:00 2001 From: Rolf Krahl Date: Tue, 25 Feb 2020 10:32:15 +0100 Subject: [PATCH] Fixup dad6078: the implementation was broken. Ref. #63. --- icat/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icat/client.py b/icat/client.py index 6638c87c..a63fde7b 100644 --- a/icat/client.py +++ b/icat/client.py @@ -220,7 +220,7 @@ def __init__(self, url, **kwargs): proxy = kwargs.pop('proxy', {}) kwargs['transport'] = HTTPSTransport(self.sslContext, proxy=proxy) - super(Client, self).__init__(url, **kwargs) + super(Client, self).__init__(self.url, **kwargs) apiversion = self.getApiVersion() # Translate a version having a trailing '-SNAPSHOT' into # something that StrictVersion would accept.