Skip to content

Commit c574002

Browse files
mauromsljoemull
authored andcommitted
fix: Fixed a bug with a wrong parent inside a super() call #5037
1 parent 387fa41 commit c574002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/submission/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ class Meta:
326326

327327
def __init__(self, *args, **kwargs):
328328
warnings.warn("Use frozen authors instead")
329-
super(FileDetails, self).__init__(*args, **kwargs)
329+
super().__init__(*args, **kwargs)
330330

331331

332332
class SubmissionCommentsForm(forms.ModelForm):

0 commit comments

Comments
 (0)