summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-05-15 15:10:00 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-05-15 15:10:00 +0200
commit21a08fe3773ef6261e6ba9403e23c692c55ab6d7 (patch)
tree7ae00ad643b8ffbf8cf49e13bf5d655d9f093076 /ishtar_common
parentd4c8a1f26a014629f0256041097670fe6b2a5e71 (diff)
downloadIshtar-21a08fe3773ef6261e6ba9403e23c692c55ab6d7.tar.bz2
Ishtar-21a08fe3773ef6261e6ba9403e23c692c55ab6d7.zip
🐛 media_find_missing_files command: fix inappropriate warning message
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/management/commands/media_find_missing_files.py2
1 files changed, 1 insertions, 1 deletions
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")