1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 06:38:17 +00:00

Fix using unicode in lambdas

https://github.com/OttoWinter/esphomeyaml/issues/128#issuecomment-425777989
This commit is contained in:
Otto Winter 2018-10-04 18:36:05 +02:00
parent ffdcddc18e
commit f8acdf101f
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

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