From e0653f6b06b216c432ecec8fe780444700fc7724 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Mon, 11 Oct 2021 22:37:05 -0500 Subject: [PATCH] [Part] Remove redundant 'global' statement --- src/Mod/Part/AttachmentEditor/Commands.py | 1 - 1 file changed, 1 deletion(-) 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)