diff --git a/twander.py b/twander.py index bffd090..4bbf103 100755 --- a/twander.py +++ b/twander.py @@ -6,7 +6,7 @@ # Program Information PROGNAME = "twander" -RCSID = "$Id: twander.py,v 3.152 2005/01/07 23:11:29 tundra Exp $" +RCSID = "$Id: twander.py,v 3.153 2005/01/07 23:51:50 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -4021,7 +4021,7 @@ # Force Unix-style path separators if requested - if FORCEUNIXPATH: + if FORCEUNIXPATH and OSNAME == 'nt': currentdir = currentdir.replace("\\", "/") dselection = dselection.replace("\\", "/") dselections = dselections.replace("\\", "/") @@ -4048,7 +4048,7 @@ if cmd.count(vblref): s = "" for m in UI.ProgMem[x]: - if FORCEUNIXPATH: + if FORCEUNIXPATH and OSNAME == 'nt': m = m.replace("\\", "/") s += QUOTECHAR + m + QUOTECHAR + " " cmd = cmd.replace(vblref, s)