From 47cba5865de35424dfa76736c39a9ceac8db615f Mon Sep 17 00:00:00 2001 From: AIIrondev Date: Sat, 15 Aug 2026 01:33:38 +0200 Subject: [PATCH] Removal of dupolicate function. --- Web/app.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Web/app.py b/Web/app.py index 2160936..117cdc8 100755 --- a/Web/app.py +++ b/Web/app.py @@ -5417,14 +5417,6 @@ def upload_item(): except ValueError: item_count = 1 - if upload_mode != 'library' and not is_duplicating and not images and not duplicate_images and not book_cover_image: - error_msg = 'Bitte laden Sie mindestens ein Bild hoch' - if is_mobile: - return jsonify({'success': False, 'message': error_msg}), 400 - else: - flash(error_msg, 'error') - return redirect(url_for(success_redirect_endpoint)) - for code in all_item_codes: if not it.is_code_unique(code): app.logger.info(f"DEBUG: Code '{code}' is not unique.")