Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Dec 14, 2023
1 parent 6088130 commit d999234
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snakemake_storage_plugin_xrootd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,11 @@ def store_object(self):
# self.local_path().
def mkdir(path):
if path != ".":
self.provider.filesystem_client.mkdir(
status, _ = self.provider.filesystem_client.mkdir(
path + "/", flags=client.flags.MkDirFlags.MAKEPATH
)
if not status.ok:
raise IOError(f"Error creating directory {path}: {status.message}")

process = client.CopyProcess()
if self.local_path().is_dir():
Expand Down

0 comments on commit d999234

Please sign in to comment.