- added the mechanism to create an error log in the data path where to write debug data for the crashes of FlatCAM

This commit is contained in:
Marius Stanciu
2020-11-28 15:51:37 +02:00
committed by Marius
parent 0ede053fe1
commit 16ae703a61
3 changed files with 85 additions and 20 deletions

View File

@@ -508,9 +508,6 @@ class App(QtCore.QObject):
os.makedirs(self.data_path)
self.log.debug('Created data folder: ' + self.data_path)
os.makedirs(os.path.join(self.data_path, 'preprocessors'))
self.log.debug('Created data preprocessors folder: ' + os.path.join(self.data_path, 'preprocessors'))
self.preprocessorpaths = self.preprocessors_path()
if not os.path.exists(self.preprocessorpaths):
os.makedirs(self.preprocessorpaths)