From 4dc1de2e438378f357bcbb2fd8cf0075e0bdcd55 Mon Sep 17 00:00:00 2001 From: Pierre Ratinaud Date: Mon, 3 Nov 2014 09:56:51 +0100 Subject: [PATCH] ... --- chemins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chemins.py b/chemins.py index 2374874..24a76de 100644 --- a/chemins.py +++ b/chemins.py @@ -21,9 +21,9 @@ class PathOut : self.analyse = analyse_type #self.dirout = self.mkdirout(dirout) if dirout is not None: - self.dirout = dirout + self.dirout = os.path.abspath(dirout) elif filename is not None and dirout is None: - self.dirout = self.directory + self.dirout = os.path.abspath(self.directory) self.d = {} def mkdirout(self) : -- 2.7.4