diff --git a/ioSPI/datasets.py b/ioSPI/datasets.py index e7d022c..c8e1729 100644 --- a/ioSPI/datasets.py +++ b/ioSPI/datasets.py @@ -117,12 +117,13 @@ def upload(self, local_path: str, remote_path: str): full_remote_path = self.storage + "/" + remote_path print(f"Uploading {local_path} to {full_remote_path}...") # os.system(f"osf upload {local_path} {full_remote_path}") - subprocess.run( + f = subprocess.run( f"osf upload {local_path} {full_remote_path}", shell=True, text=True, capture_output=True, - ) + ).stdout + print(f) print("Done!") def remove(self, remote_path: str):