- 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

@@ -1,6 +1,7 @@
from ObjectCollection import *
from tclCommands.TclCommand import TclCommand
import collections
class TclCommandGeoUnion(TclCommand):
"""
@@ -50,7 +51,7 @@ class TclCommandGeoUnion(TclCommand):
obj_name = args['name']
try:
obj = self.collection.get_by_name(str(obj_name))
obj = self.app.collection.get_by_name(str(obj_name))
except:
return "Could not retrieve object: %s" % obj_name
if obj is None: