mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Tolerate trailing / on github import
This commit is contained in:
parent
5c35687051
commit
c8b7406094
@ -58,6 +58,8 @@ def main():
|
||||
issuetracker = None
|
||||
license = None
|
||||
if url.startswith('https://github.com'):
|
||||
if url.endswith('/'):
|
||||
url = url[:-1]
|
||||
projecttype = 'github'
|
||||
repo = url + '.git'
|
||||
repotype = 'git'
|
||||
|
Loading…
Reference in New Issue
Block a user