##// END OF EJS Templates
Creacion automatica del directorio donde se almacenará los archivos gráficos
Miguel Valdez -
r326:63175e38b0b0
parent child
Show More
@@ -157,6 +157,11 class Figure:
157 fullpath = os.path.split(filename)[0]
157 fullpath = os.path.split(filename)[0]
158
158
159 if not os.path.exists(fullpath):
159 if not os.path.exists(fullpath):
160 subpath = os.path.split(fullpath)[0]
161
162 if not os.path.exists(subpath):
163 os.mkdir(subpath)
164
160 os.mkdir(fullpath)
165 os.mkdir(fullpath)
161
166
162 self.__driver.saveFigure(self.fig, filename, *args)
167 self.__driver.saveFigure(self.fig, filename, *args)
General Comments 0
You need to be logged in to leave comments. Login now