From f1cf95b8ddc8fa73af992889941a82fc99a803f5 Mon Sep 17 00:00:00 2001 From: Alessandro Gatti Date: Sun, 11 Mar 2018 15:09:27 +0100 Subject: [PATCH] scripting: Fix invalid error message syntax. Fixes: lp:1754758 https://bugs.launchpad.net/kicad/+bug/1754758 --- scripting/kicadplugins.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripting/kicadplugins.i b/scripting/kicadplugins.i index 6f38ddabe7..ddb9b01d8b 100644 --- a/scripting/kicadplugins.i +++ b/scripting/kicadplugins.i @@ -380,7 +380,7 @@ class FootprintWizardParameter(object): if (to_int % multiple) > 0: self.AddError("value '{v}' is not a multiple of {m}".format(v=self.raw_value,m=multiple),info) except: - self.AddError("value {'v}' is not an integer".format(v=self.raw_value),info) + self.AddError("value '{v}' is not an integer".format(v=self.raw_value),info) if self.units == uBool: # Check that the value is of a correct boolean format if self.raw_value in [True,False] or str(self.raw_value).lower() in self._bools: