Commit 096732bd authored by Guillaume Seguin's avatar Guillaume Seguin

Harden pronsole.log against unicode strings

parent 74fc0f26
......@@ -189,7 +189,7 @@ class pronsole(cmd.Cmd):
"online" : "%(bold)sT:%(extruder_temp_fancy)s %(progress_fancy)s >%(normal)s "}
def log(self, *msg):
print ''.join(str(i) for i in msg)
print u"".join(unicode(i) for i in msg)
def promptf(self):
"""A function to generate prompts so that we can do dynamic prompts. """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment