diff --git a/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.py b/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.py index 8f01e13bf2..64651dd27a 100644 --- a/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.py +++ b/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.py @@ -25,10 +25,9 @@ from __future__ import absolute_import import FreeCAD as App import Part -from FreeCAD import Units -from Units import MilliMetre as mm -from Units import Degree as deg -from Units import Quantity as Q +mm = App.Units.MilliMetre +deg = App.Units.Degree +Q = App.Units.Quantity from AttachmentEditor.FrozenClass import FrozenClass try: