This commit is contained in:
jxxghp
2023-11-21 21:20:02 +08:00
parent fb39500428
commit 10ad9a5601
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class PluginHelper(metaclass=Singleton):
if not repo_url:
return None, None
try:
user, repo = repo_url.split("/")[-4:-2]
user, repo = repo_url.split("/")[-3:-1]
except Exception as e:
print(str(e))
return None, None