mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-24 10:37:23 +00:00
Bugfix from refactoring
This commit is contained in:
parent
130a4ed2d3
commit
e9530eda9d
@ -1579,7 +1579,7 @@ def import_ldap_users():
|
||||
log.debug_or_exception(e)
|
||||
continue
|
||||
if user_data:
|
||||
user_count, message = ldap_import_create_user(user, user_data, showtext)
|
||||
user_count, message = ldap_import_create_user(user, user_data)
|
||||
if message:
|
||||
showtext['text'] = message
|
||||
else:
|
||||
|
@ -510,15 +510,14 @@ class Updater(threading.Thread):
|
||||
# before major update
|
||||
if i == (len(commit) - 1):
|
||||
i -= 1
|
||||
status, parents = self._stable_updater_parse_major_version(self,
|
||||
commit,
|
||||
status, parents = self._stable_updater_parse_major_version(commit,
|
||||
i,
|
||||
parents,
|
||||
current_version,
|
||||
status)
|
||||
break
|
||||
|
||||
status = self._stable_updater_set_status(self, i, newer, status, parents, commit)
|
||||
status = self._stable_updater_set_status(i, newer, status, parents, commit)
|
||||
return json.dumps(status)
|
||||
|
||||
def _get_request_path(self):
|
||||
|
Loading…
Reference in New Issue
Block a user