Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Mergin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,13 @@ def create_manager(self):
self.auth_token_expired()
return

self.choose_active_workspace()
self.manager = MerginProjectsManager(self)
if self.mc is not None:
self.choose_active_workspace()
self.manager = MerginProjectsManager(self)
else:
error = "Configure the Mergin Maps plugin \nto access your projects"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove \n .

except (URLError, ClientError, LoginError):
error = "Plugin not configured or \nQGIS master password not set up"
error = "Plugin not configured or QGIS master password not set up"
except Exception as err:
error = "Error: {}".format(str(err))
if error:
Expand Down
Loading