- minor fix

This commit is contained in:
Marius Stanciu 2020-06-07 19:41:54 +03:00
parent 329a3262ee
commit cbaba7c60a
1 changed files with 2 additions and 1 deletions

View File

@ -381,7 +381,8 @@ 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"), self.version)
FlatCAMDefaults.save_factory_defaults(os.path.join(self.data_path, "factory_defaults.FlatConfig"),
float(self.version))
# create a recent files json file if there is none
try: