Bugfix: missing whitespace

This commit is contained in:
Lukas Klass 2020-06-26 16:04:57 +02:00
parent 095c0cc0da
commit 1043a559b8
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class Entry(object):
else:
return "Expected parameter '" + name + "' with unit '" + unit.to_string() + "' but got no unit."
if not attr.unit.is_equivalent(unit):
return "Expected parameter '" + name + "' with unit equivalent to'" + unit.to_string() + \
return "Expected parameter '" + name + "' with unit equivalent to '" + unit.to_string() + \
"' but got unit '" + attr.unit.to_string() + "'."
return None