diff --git a/GitLink.py b/GitLink.py index 002e351..c4fb83b 100644 --- a/GitLink.py +++ b/GitLink.py @@ -108,7 +108,7 @@ def run(self, edit, **args): user, domain = domain.split('.', 1) else: # format is {domain}/{user}/{repo}.git - domain, user, repo = remote.split("/") + domain, user, repo = remote.split("://")[-1].split("/") project = None print(domain, user, repo) # Find top level repo in current dir structure