- minor fix - revert

This commit is contained in:
Marius Stanciu 2020-06-07 19:44:08 +03:00
parent cbaba7c60a
commit a71292af30
1 changed files with 1 additions and 2 deletions

View File

@ -381,8 +381,7 @@ class App(QtCore.QObject):
f.close()
# the factory defaults are written only once at the first launch of the application after installation
FlatCAMDefaults.save_factory_defaults(os.path.join(self.data_path, "factory_defaults.FlatConfig"),
float(self.version))
FlatCAMDefaults.save_factory_defaults(os.path.join(self.data_path, "factory_defaults.FlatConfig"), self.version)
# create a recent files json file if there is none
try: