Skip to content

Commit e4e52d6

Browse files
committed
allow client creation without authorization
1 parent e876fd1 commit e4e52d6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mergin/client.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,6 @@ def __init__(
157157
if not self._auth_session:
158158
self.login(login, password)
159159

160-
else:
161-
if not self._auth_session:
162-
raise ClientError("Unable to log in: no auth token provided for login")
163-
164160
def setup_logging(self):
165161
"""Setup Mergin Maps client logging."""
166162
client_log_file = os.environ.get("MERGIN_CLIENT_LOG", None)

0 commit comments

Comments
 (0)