From 21a08fe3773ef6261e6ba9403e23c692c55ab6d7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 15 May 2023 15:10:00 +0200 Subject: 🐛 media_find_missing_files command: fix inappropriate warning message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/management/commands/media_find_missing_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ishtar_common/management/commands/media_find_missing_files.py b/ishtar_common/management/commands/media_find_missing_files.py index 61a7919e2..a907a6660 100644 --- a/ishtar_common/management/commands/media_find_missing_files.py +++ b/ishtar_common/management/commands/media_find_missing_files.py @@ -90,7 +90,7 @@ class Command(BaseCommand): if hard and not (try_fix or find_fix): self.stdout.write("hard option has no effect if try-fix or " "find-fix are not set.\n") - if no_dir_verification and (not set_alt_media_dir and not set_alt_media_dir): + if no_dir_verification and (not set_alt_media_dir and not set_empty_image): self.stdout.write("no-media-dir-verification option has no effect if set-empty-image or " "set-alt-media-dir are not set.\n") -- cgit v1.2.3