mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-18 20:23:27 +02:00
Fix using unicode in lambdas (#141)
https://github.com/OttoWinter/esphomeyaml/issues/128#issuecomment-425777989
This commit is contained in:
@@ -106,7 +106,7 @@ class ExpressionList(Expression):
|
|||||||
self.args.append(exp)
|
self.args.append(exp)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
text = u", ".join(str(x) for x in self.args)
|
text = u", ".join(unicode(x) for x in self.args)
|
||||||
return indent_all_but_first_and_last(text)
|
return indent_all_but_first_and_last(text)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user