scripting: Fix invalid error message syntax.

Fixes: lp:1754758
https://bugs.launchpad.net/kicad/+bug/1754758
This commit is contained in:
Alessandro Gatti 2018-03-11 15:09:27 +01:00 committed by jean-pierre charras
parent 17c0917dac
commit f1cf95b8dd
1 changed files with 1 additions and 1 deletions

View File

@ -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: