Commit d64845db authored by Jack Jansen's avatar Jack Jansen

Mkdirs() failed when provided with unix pathnames. Fixed.

parent 6681de24
......@@ -55,7 +55,7 @@ def mkdirs(dst):
if dst == '' or os.path.exists(dst):
return
head, tail = os.path.split(dst)
if not ':' in head:
if os.sep == ':' and not ':' in head:
head = head + ':'
mkdirs(head)
os.mkdir(dst, 0777)
......
Markdown is supported
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