diff --git a/datalad_dataverse/dataset.py b/datalad_dataverse/dataset.py index 323a01b..4ce3a68 100644 --- a/datalad_dataverse/dataset.py +++ b/datalad_dataverse/dataset.py @@ -171,7 +171,7 @@ def download_file(self, fid: int, path: Path): # https://github.com/gdcc/pyDataverse/issues/49 # the code below is nevertheless readied for such a # scenario - response = self.data_access_api.get_datafile(fid) + response = self.data_access_api.get_datafile(fid, is_pid=False) # http error handling response.raise_for_status() with path.open("wb") as f: