Pārlūkot izejas kodu

- minor fix - revert

Marius Stanciu 5 gadi atpakaļ
vecāks
revīzija
a71292af30
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      app_Main.py

+ 1 - 2
app_Main.py

@@ -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: