diff --git a/media/forms.py b/media/forms.py index 409b33e..673d513 100644 --- a/media/forms.py +++ b/media/forms.py @@ -104,7 +104,7 @@ class MediaAdminForm(ModelForm): if self.cleaned_data['title']: self.cleaned_data['title'] = re.sub(r'\(AUT\) ', - '', self.cleaned_data['title']) + '', self.cleaned_data['title']) if self.cleaned_data['authors']: authors = self.cleaned_data['authors'] @@ -132,11 +132,11 @@ class MediaAdminForm(ModelForm): if self.cleaned_data['subtitle']: self.cleaned_data['subtitle'] = re.sub(r'', - '', self.cleaned_data['subtitle']) + '', self.cleaned_data['subtitle']) self.cleaned_data['subtitle'] = re.sub(r'', - '', self.cleaned_data['subtitle']) + '', self.cleaned_data['subtitle']) start = self.cleaned_data['subtitle'].split(' ')[0] \ - .replace('.', '') + .replace('.', '') if start.isnumeric(): side_identifier += " {:0>2}".format(start, )