mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Fix using unicode in lambdas (#141)
https://github.com/OttoWinter/esphomeyaml/issues/128#issuecomment-425777989
This commit is contained in:
parent
ef54e33b70
commit
71947bb6ac
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class ExpressionList(Expression):
|
|||
self.args.append(exp)
|
||||
|
||||
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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue