Procházet zdrojové kódy

change default timeout
fix outname bug in drillcncjob

Kamil Sopko před 9 roky
rodič
revize
26a8b7347b

+ 2 - 2
tclCommands/TclCommand.py

@@ -291,8 +291,8 @@ class TclCommandSignaled(TclCommand):
         it handles  all neccessary stuff about blocking and passing exeptions
     """
 
-    # default  timeout for operation is  10 sec, but it can be much more
-    default_timeout = 10000
+    # default  timeout for operation is  300000 sec, but it can be much more
+    default_timeout = 300000
 
     output = None
 

+ 1 - 1
tclCommands/TclCommandDrillcncjob.py

@@ -78,4 +78,4 @@ class TclCommandDrillcncjob(TclCommand.TclCommandSignaled):
             job_obj.gcode_parse()
             job_obj.create_geometry()
 
-        self.app.new_object("cncjob", name, job_init)
+        self.app.new_object("cncjob", args['outname'], job_init)