diff --git a/media/forms.py b/media/forms.py index e3a7589..7bd1056 100644 --- a/media/forms.py +++ b/media/forms.py @@ -99,7 +99,7 @@ class MediaAdminForm(ModelForm): self.download_data_openlibrary(isbn) if self.cleaned_data['authors']: - authors: list = self.cleaned_data['authors'] + authors = self.cleaned_data['authors'] def sort(author): return str(-author.note) + "." + author.name authors.sort(key=sort)