Fix SyntaxWarning in wx.lib.masked.maskededit

This commit is contained in:
Scott Talbert
2019-11-22 10:41:58 -05:00
parent 77de080f70
commit d050934321

View File

@@ -2645,7 +2645,7 @@ class MaskedEditMixin:
raise ve
elif replace_to > end:
#### dbg(indent=0)
ve = ValueError('"%s" will not fit into field %d of control "%s"' (choice, index, self.name))
ve = ValueError('"%s" will not fit into field %d of control "%s"' % (choice, index, self.name))
ve.value = choice
ve.index = index
raise ve