mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-31 07:13:02 +00:00 
			
		
		
		
	Fix LDAP import user
This commit is contained in:
		| @@ -614,6 +614,7 @@ def _configuration_ldap_helper(to_save, gdriveError): | |||||||
|     reboot_required |= _config_string(to_save, "config_ldap_user_object") |     reboot_required |= _config_string(to_save, "config_ldap_user_object") | ||||||
|     reboot_required |= _config_string(to_save, "config_ldap_group_object_filter") |     reboot_required |= _config_string(to_save, "config_ldap_group_object_filter") | ||||||
|     reboot_required |= _config_string(to_save, "config_ldap_group_members_field") |     reboot_required |= _config_string(to_save, "config_ldap_group_members_field") | ||||||
|  |     reboot_required |= _config_string(to_save, "config_ldap_member_user_object") | ||||||
|     reboot_required |= _config_checkbox(to_save, "config_ldap_openldap") |     reboot_required |= _config_checkbox(to_save, "config_ldap_openldap") | ||||||
|     reboot_required |= _config_int(to_save, "config_ldap_encryption") |     reboot_required |= _config_int(to_save, "config_ldap_encryption") | ||||||
|     reboot_required |= _config_string(to_save, "config_ldap_cacert_path") |     reboot_required |= _config_string(to_save, "config_ldap_cacert_path") | ||||||
|   | |||||||
| @@ -112,7 +112,6 @@ class TaskConvert(CalibreTask): | |||||||
|         if check == 0: |         if check == 0: | ||||||
|             cur_book = local_db.get_book(book_id) |             cur_book = local_db.get_book(book_id) | ||||||
|             if os.path.isfile(file_path + format_new_ext): |             if os.path.isfile(file_path + format_new_ext): | ||||||
|                 # check if format is already there and replace it if so, problem with gdrive kepub upload (why?) |  | ||||||
|                 new_format = db.Data(name=cur_book.data[0].name, |                 new_format = db.Data(name=cur_book.data[0].name, | ||||||
|                                          book_format=self.settings['new_book_format'].upper(), |                                          book_format=self.settings['new_book_format'].upper(), | ||||||
|                                          book=book_id, uncompressed_size=os.path.getsize(file_path + format_new_ext)) |                                          book=book_id, uncompressed_size=os.path.getsize(file_path + format_new_ext)) | ||||||
|   | |||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user
	 OzzieIsaacs
					OzzieIsaacs