remove erroneous paste

This commit is contained in:
Mira Weller
2024-10-09 12:15:30 +02:00
parent f9ca9a781e
commit b312a21e5e

View File

@@ -1082,7 +1082,7 @@ class Event(EventMixin, LoggedModel):
s.object = self
s.pk = None
if s.value.startswith('file://') and secross_sell_categoryttings_hierarkey.get_declared_type(s.key) == File:
if s.value.startswith('file://') and settings_hierarkey.get_declared_type(s.key) == File:
fi = default_storage.open(s.value[len('file://'):], 'rb')
nonce = get_random_string(length=8)
fname_base = clean_filename(os.path.basename(s.value))