Skip to content

Commit 57e806b

Browse files
JR-1991Copilot
andauthored
Update easyDataverse/dataset.py
Co-authored-by: Copilot <[email protected]>
1 parent f12fd8f commit 57e806b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

easyDataverse/dataset.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ def upload(
304304
if self.p_id is not None:
305305
raise ValueError(
306306
"It seems like you are trying to upload a dataset that has already been uploaded. Please use the 'update' method instead.",
307-
"If you are sure that you want to upload a new version of the dataset, please set the 'p_id' field to 'None'.",
307+
"It seems like you are trying to upload a dataset that has already been uploaded. Please use the 'update' method instead.\n"
308+
"If you are sure that you want to upload a new version of the dataset, please set the 'p_id' field to 'None'."
308309
)
309310

310311
self._validate_required_fields()

0 commit comments

Comments
 (0)