Oh python, oh unicode.

This commit is contained in:
Simon Forman 2018-07-22 11:51:47 -07:00
parent 4ed8422258
commit 79a653c08b
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ class TextViewerWidget(tk.Text, MouseBindingsMixin, SavingMixin):
def run_command(self, command):
'''Given a string run it on the stack, report errors.'''
command = command.encode('utf_8')
try:
self.world.interpret(command)
except SystemExit: