We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f12fd8f commit 57e806bCopy full SHA for 57e806b
easyDataverse/dataset.py
@@ -304,7 +304,8 @@ def upload(
304
if self.p_id is not None:
305
raise ValueError(
306
"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'.",
+ "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'."
309
)
310
311
self._validate_required_fields()
0 commit comments