• R/O
  • SSH

Joypy: Commit

Main interpreter and library.


Commit MetaInfo

Revision878ff7da24ad6f2fa8f404472141b13dbbf6158f (tree)
Time2018-07-23 03:51:47
AuthorSimon Forman <sforman@hush...>
CommiterSimon Forman

Log Message

Oh python, oh unicode.

Change Summary

Incremental Difference

diff -r fcadfa98a231 -r 878ff7da24ad joy/gui/textwidget.py
--- a/joy/gui/textwidget.py Sun Jul 22 11:50:34 2018 -0700
+++ b/joy/gui/textwidget.py Sun Jul 22 11:51:47 2018 -0700
@@ -297,6 +297,7 @@
297297
298298 def run_command(self, command):
299299 '''Given a string run it on the stack, report errors.'''
300+ command = command.encode('utf_8')
300301 try:
301302 self.world.interpret(command)
302303 except SystemExit:
Show on old repository browser