From 67a2df6a8c9ca438be89e4b14442692dc1919aa9 Mon Sep 17 00:00:00 2001
From: madsmpedersen <m@madsp.dk>
Date: Mon, 11 Jul 2016 14:30:51 +0200
Subject: [PATCH] bugfix

---
 wetb/utils/process_exec.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wetb/utils/process_exec.py b/wetb/utils/process_exec.py
index adde550..b1bcef7 100644
--- a/wetb/utils/process_exec.py
+++ b/wetb/utils/process_exec.py
@@ -74,7 +74,7 @@ def unix_filename(filename):
     Filename
 
     """
-    filename = os.path.realpath(filename).replace("\\", "/")
+    filename = os.path.realpath(filename.replace("\\", "/")).replace("\\", "/")
     ufn, rest = os.path.splitdrive(filename)
     ufn += "/"
     for f in rest[1:].split("/"):
-- 
GitLab