- fixed imports in all TclCommands

This commit is contained in:
Marius Stanciu
2019-10-25 02:10:52 +03:00
committed by Marius
parent 7181d55368
commit d0e5b6c83a
57 changed files with 206 additions and 90 deletions

View File

@@ -5,9 +5,11 @@
# MIT Licence #
# ##########################################################
from ObjectCollection import *
from tclCommands.TclCommand import TclCommandSignaled
from FlatCAMObj import FlatCAMExcellon
import math
import collections
class TclCommandMillDrills(TclCommandSignaled):
"""
@@ -72,7 +74,7 @@ class TclCommandMillDrills(TclCommandSignaled):
try:
obj = self.app.collection.get_by_name(str(name))
except:
except Exception as e:
obj = None
self.raise_tcl_error("Could not retrieve object: %s" % name)