Commit 4886dbcc authored by Daalen, Tim van's avatar Daalen, Tim van
Browse files

bugfix, irods upload file seperator

parent d91cb6b8
......@@ -383,7 +383,7 @@ class irodsConnector():
sourcePath = os.path.join(source, o)
if len(o.split(os.sep)) > 1:
subColl = self.session.collections.create(
destination.path+'/'+os.path.basename(source)+'/'+os.path.dirname(o))
destination.path+'/'+os.path.basename(source)+'/'+os.path.dirname(o).replace(os.sep,'/'))
else:
subColl = self.session.collections.create(
destination.path+'/'+os.path.basename(source))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment