normalize api to end with /

This commit is contained in:
j 2019-04-30 18:44:33 +02:00
parent 8675edf19f
commit 75b12dfb86

View file

@ -227,6 +227,8 @@ def signin(url):
url = 'https://%s/api/' % url
else:
site = url.split('/')[2]
if not url.endswith('/'):
url += '/'
api = API(url)
update = False
try: