- more refactoring; solved some issues introduced by the refactoring

This commit is contained in:
Marius Stanciu
2020-05-18 18:45:53 +03:00
committed by Marius
parent 2bcdeff7ef
commit d61ca10e75
47 changed files with 136 additions and 159 deletions

View File

@@ -1,6 +1,6 @@
import sys
import re
import AppMain
import App
import abc
import collections
from PyQt5 import QtCore
@@ -53,7 +53,7 @@ class TclCommand(object):
if self.app is None:
raise TypeError('Expected app to be FlatCAMApp instance.')
if not isinstance(self.app, AppMain.App):
if not isinstance(self.app, App.App):
raise TypeError('Expected FlatCAMApp, got %s.' % type(app))
self.log = self.app.log