mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-30 23:03:02 +00:00 
			
		
		
		
	Missing file for deletion of books
This commit is contained in:
		| @@ -273,6 +273,9 @@ def get_sorted_author(value): | ||||
|         value2 = value[-1] + ", " + " ".join(value[:-1]) | ||||
|     return value2 | ||||
|  | ||||
| def delete_book(book, calibrepath): | ||||
|     path = os.path.join(calibrepath, book.path)#.replace('/',os.path.sep)).replace('\\',os.path.sep) | ||||
|     shutil.rmtree(path, ignore_errors=True) | ||||
|  | ||||
| def update_dir_stucture(book_id, calibrepath): | ||||
|     db.session.connection().connection.connection.create_function("title_sort", 1, db.title_sort) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 OzzieIsaacs
					OzzieIsaacs