From 89efa9cbf9855e4a07b9c79a7fafc39496f0a297 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Mon, 9 Jul 2018 22:59:26 -0400 Subject: [PATCH] Fix syntax issue (see #1657) --- gui/itemStats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/itemStats.py b/gui/itemStats.py index 9e5b07016..3768780e2 100644 --- a/gui/itemStats.py +++ b/gui/itemStats.py @@ -102,7 +102,7 @@ class ItemStatsDialog(wx.Dialog): if "wxGTK" in wx.PlatformInfo: self.closeBtn = wx.Button(self, wx.ID_ANY, "Close", wx.DefaultPosition, wx.DefaultSize, 0) self.mainSizer.Add(self.closeBtn, 0, wx.ALL | wx.ALIGN_RIGHT, 5) - self.closeBtn.Bind(wx.EVT_BUTTON, (lambda e: self.Close()))) + self.closeBtn.Bind(wx.EVT_BUTTON, (lambda e: self.Close())) self.SetSizer(self.mainSizer)