##// END OF EJS Templates
Remove _files directory at the end if empty.
Fernando Perez -
Show More
@@ -255,6 +255,10 b' class Converter(object):'
255 255 self.files_dir = files_dir
256 256 self.outbase = os.path.join(self.infile_dir, infile_root)
257 257
258 def __del__(self):
259 if not os.listdir(self.files_dir):
260 os.rmdir(self.files_dir)
261
258 262 def dispatch(self, cell_type):
259 263 """return cell_type dependent render method, for example render_code
260 264 """
General Comments 0
You need to be logged in to leave comments. Login now