Skip to content

Commit

Permalink
fix: Fix file input by removing an erroneous comma that made the file…
Browse files Browse the repository at this point in the history
… input disappear in add sections
  • Loading branch information
drikusroor committed May 29, 2024
1 parent 3a5ca1b commit 64859f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/section/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AddSections(forms.Form):
group = forms.CharField(max_length=128, required=False)
files = forms.FileField(widget=MultipleFileInput(
attrs={'accept': '.wav,.mp3,.aiff,.flac,.ogg'}),
validators=[audio_file_validator()]),
validators=[audio_file_validator()])


class PlaylistAdminForm(forms.ModelForm):
Expand Down

0 comments on commit 64859f7

Please sign in to comment.