From 7435bf72dc63b58025b0572ccf905144d13ceb73 Mon Sep 17 00:00:00 2001 From: Matthias Kestenholz Date: Fri, 24 Nov 2023 16:11:53 +0100 Subject: [PATCH] Oops --- imagefield/management/commands/process_imagefields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagefield/management/commands/process_imagefields.py b/imagefield/management/commands/process_imagefields.py index b6d2923..df11c03 100644 --- a/imagefield/management/commands/process_imagefields.py +++ b/imagefield/management/commands/process_imagefields.py @@ -56,7 +56,7 @@ def _compile_imagefield_labels(self, options): elif options["field"]: fields = set() known = [f.field_label for f in IMAGEFIELDS] - unknown = {} + unknown = set() for field in options["field"]: if new := {f for f in known if fnmatch(f, field)}: fields |= new