diff --git a/src/Mod/Part/AttachmentEditor/Commands.py b/src/Mod/Part/AttachmentEditor/Commands.py index f19e7c813c..3a477f995c 100644 --- a/src/Mod/Part/AttachmentEditor/Commands.py +++ b/src/Mod/Part/AttachmentEditor/Commands.py @@ -99,7 +99,6 @@ class CommandEditAttachment: return False if App.GuiUp: - global command_instance import FreeCADGui as Gui command_instance = CommandEditAttachment() Gui.addCommand('Part_EditAttachment', command_instance)