diff options
Diffstat (limited to 'Mac/Lib/macostools.py')
-rw-r--r-- | Mac/Lib/macostools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/macostools.py b/Mac/Lib/macostools.py index 43ab74fb77..ca0c7c6dfd 100644 --- a/Mac/Lib/macostools.py +++ b/Mac/Lib/macostools.py @@ -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) |