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