We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88cb2dc commit 378ea6cCopy full SHA for 378ea6c
src/vorta/views/repo_add_dialog.py
@@ -277,7 +277,9 @@ def run_result(self, result):
277
else:
278
self._set_status(self.tr('Unable to add your repository.'))
279
for error in result['errors']:
280
- if 'msgid' in error and error['msgid'] in ['Repository.DoesNotExist', 'Repository.InvalidRepository']:
+ if (
281
+ 'msgid' in error and error['msgid'] in ['Repository.DoesNotExist', 'Repository.InvalidRepository']
282
+ ) or self.is_remote_repo:
283
self.init_new_repo()
284
break
285
0 commit comments