maintainers/scripts/pluginupdate.py: fix repo name inferring for non-github repos
This commit is contained in:
parent
5edb89f609
commit
ea2706b839
@ -108,7 +108,7 @@ class Repo:
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
return self.uri.split("/")[-1]
|
||||
return self.uri.strip("/").split("/")[-1]
|
||||
|
||||
@property
|
||||
def branch(self):
|
||||
|
Loading…
Reference in New Issue
Block a user