OSDN Git Service

Fixes: #40355 Lookup bytes no good.
authorSimon Forman <sforman@hushmail.com>
Fri, 24 Apr 2020 19:05:39 +0000 (12:05 -0700)
committerSimon Forman <sforman@hushmail.com>
Fri, 24 Apr 2020 19:05:39 +0000 (12:05 -0700)
joy/gui/textwidget.py

index 8bb25fd..c8cbd40 100644 (file)
@@ -302,7 +302,6 @@ 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: