mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50: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
|
||||
license = None
|
||||
if url.startswith('https://github.com'):
|
||||
if url.endswith('/'):
|
||||
url = url[:-1]
|
||||
projecttype = 'github'
|
||||
repo = url + '.git'
|
||||
repotype = 'git'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue