diff --git a/specklepy/api/credentials.py b/specklepy/api/credentials.py index 33dfa15..7270e0b 100644 --- a/specklepy/api/credentials.py +++ b/specklepy/api/credentials.py @@ -173,7 +173,7 @@ class StreamWrapper: warn(f"No local account found for server {self.host}", SpeckleWarning) return self.client - self.client.authenticate(acct.token) + self.client.authenticate(self.account.token) return self.client def get_transport(self) -> ServerTransport: