Show: py2 support

mostly changes to the way things are imported
+small misc fixes
This commit is contained in:
DeepSOIC
2019-09-12 02:34:26 +03:00
committed by wmayer
parent 20f68358a7
commit 1593efecc7
6 changed files with 29 additions and 23 deletions

View File

@@ -21,7 +21,6 @@
# * *
# ***************************************************************************/
from . import TVStack
import FreeCAD
class TVObserver(object):
@@ -32,9 +31,11 @@ class TVObserver(object):
FreeCAD.removeDocumentObserver(self)
def slotStartSaveDocument(self, doc, filepath):
from . import TVStack
TVStack._slotStartSaveDocument(doc)
def slotFinishSaveDocument(self, doc, filepath):
from . import TVStack
TVStack._slotFinishSaveDocument(doc)
def slotDeletedDocument(self, doc):