There was an error while loading. Please reload this page.
1 parent 9cc6c9d commit 007d4c4Copy full SHA for 007d4c4
api/osf_api.py
@@ -643,7 +643,7 @@ def create_preprint(
643
# then the Edit Preprint page thinks that the preprint has unsaved changes even if
644
# you have made no changes on the form page. There is a ticket for this issue:
645
# ENG-3782.
646
- current_year = datetime.datetime.now().year
+ current_year = datetime.now().year
647
# Get subject id for the subject_name parameter. NOTE: Currently we are creating
648
# the preprint with only a single subject, which is the minimum required to publish.
649
subject_id = get_subject_id_for_provider(
0 commit comments