Skip to content

Commit

Permalink
Fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
cslzchen committed Sep 6, 2024
1 parent 61a4fcb commit 3d3289c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/preprints/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def handle_author_assertions(self, preprint, validated_data, auth):
'why_no_prereg',
'prereg_links',
'has_prereg_links',
'prereg_link_info'
'prereg_link_info',
}
if author_assertions & validated_data.keys():
if not preprint.is_admin_contributor(auth.user):
Expand Down

0 comments on commit 3d3289c

Please sign in to comment.