scripting: Fix invalid error message syntax.
Fixes: lp:1754758 https://bugs.launchpad.net/kicad/+bug/1754758
This commit is contained in:
parent
17c0917dac
commit
f1cf95b8dd
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue