X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=functions.py;h=6ad088dc9dcd063d8b0ed63910144e2c34a4fb66;hp=758f94b234a849243321b4e1bc374a3956cb39a9;hb=434a6105156cca276a69c294c8b99369cf41c66f;hpb=3647a911117ea08f4f969720a16c58bcc7d4e809 diff --git a/functions.py b/functions.py index 758f94b..6ad088d 100644 --- a/functions.py +++ b/functions.py @@ -35,7 +35,7 @@ def normpath_win32(path) : return path while '\\\\' in path : path = path.replace('\\\\', '\\') - if sys.platform == 'win32' and path.startswith('\\') and not path.startswith('\\\\') : + if path.startswith('\\') and not path.startswith('\\\\') : path = '\\' + path return path