Skip to content

Commit

Permalink
wxGUI: Removed unused variable in location_wizard/dialogs.py (#4773)
Browse files Browse the repository at this point in the history
  • Loading branch information
arohanajit authored Nov 28, 2024
1 parent 115a3c4 commit 796d14d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ per-file-ignores =
gui/wxpython/iclass/frame.py: F405, F403
gui/wxpython/iclass/g.gui.iclass.py: E501
gui/wxpython/iclass/statistics.py: F841, F405, F403
gui/wxpython/location_wizard/dialogs.py: F841
gui/wxpython/location_wizard/wizard.py: E722
gui/wxpython/mapdisp/main.py: E722
gui/wxpython/mapdisp/test_mapdisp.py: E501
Expand Down
2 changes: 1 addition & 1 deletion gui/wxpython/location_wizard/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def OnValue(self, event):

except ValueError as e:
if len(event.GetString()) > 0 and event.GetString() != "-":
dlg = wx.MessageBox(
wx.MessageBox(
parent=self,
message=_("Invalid value: %s") % e,
caption=_("Error"),
Expand Down

0 comments on commit 796d14d

Please sign in to comment.