Skip to content

Commit 4d3e004

Browse files
authored
method clean_subject_location not implemented correctly (#1465)
1 parent 99e8f24 commit 4d3e004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filer/admin/fileadmin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def clean(self):
4848
validate_upload(
4949
file_name=cleaned_data["file"].name,
5050
file=file.file,
51-
owner=cleaned_data["owner"],
51+
owner=cleaned_data.get("owner"),
5252
mime_type=mime_type,
5353
)
5454
file.open("r")

0 commit comments

Comments
 (0)