Moved PathLog to Path.Log and import it by default

This commit is contained in:
Markus Lampert
2022-08-09 20:06:40 -07:00
parent 7e643c563b
commit 233c92b79e
128 changed files with 1738 additions and 1801 deletions

View File

@@ -21,8 +21,8 @@
# ***************************************************************************
import FreeCAD
import Path
import PathScripts
import PathScripts.PathLog as PathLog
import traceback
from PathScripts.PathUtils import loopdetect
@@ -80,7 +80,7 @@ class _CommandSelectLoop:
self.active = False
return self.active
except Exception as exc:
PathLog.error(exc)
Path.Log.error(exc)
traceback.print_exc(exc)
return False