mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Tolerate trailing / on github import
This commit is contained in:
parent
5c35687051
commit
c8b7406094
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue