diff --git a/gui/wxpython/modules/import_export.py b/gui/wxpython/modules/import_export.py index 3c61b0e0e7c..a0bd17e289c 100644 --- a/gui/wxpython/modules/import_export.py +++ b/gui/wxpython/modules/import_export.py @@ -611,10 +611,6 @@ def OnRun(self, event): if data is None: return - # Error: local variable '_' defined as a builtin referenced before assignment - # This error is only coming up in this file. - _ = "" - if not data: GMessage(parent=self, message=_("No layers selected. Operation canceled.")) return