Skip to content

Commit

Permalink
Merge pull request #105 from pwroberts/fix-encoding-crash
Browse files Browse the repository at this point in the history
Explicitly encode to UTF-8 when writing to console.
  • Loading branch information
pwroberts authored Jun 21, 2016
2 parents 3d3c268 + 414e4ab commit 17020d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spatialmedia/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self):
self.log = []

def append(self, text):
print text
print(text.encode('utf-8'))
self.log.append(text)


Expand Down

0 comments on commit 17020d3

Please sign in to comment.