diff --git a/media/forms.py b/media/forms.py index ec46a29..393024f 100644 --- a/media/forms.py +++ b/media/forms.py @@ -99,6 +99,10 @@ class MediaAdminForm(ModelForm): # Try with OpenLibrary self.download_data_openlibrary(isbn) + if self.cleaned_data['title']: + self.cleaned_data['title'] = re.sub('\(AUT\) ', + '', self.cleaned_data['title']) + if self.cleaned_data['authors']: authors = self.cleaned_data['authors'] old_authors = authors.copy()