...
authorPierre Ratinaud <ratinaud@univ-tlse2.fr>
Mon, 3 Nov 2014 08:56:51 +0000 (09:56 +0100)
committerPierre Ratinaud <ratinaud@univ-tlse2.fr>
Mon, 3 Nov 2014 08:56:51 +0000 (09:56 +0100)
chemins.py

index 2374874..24a76de 100644 (file)
@@ -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) :