##// END OF EJS Templates
Convert source code to unicode in zmqshell magic_less
Jörgen Stenarson -
Show More
@@ -355,7 +355,7 b' class KernelMagics(Magics):'
355
355
356 cont = open(arg_s).read()
356 cont = open(arg_s).read()
357 if arg_s.endswith('.py'):
357 if arg_s.endswith('.py'):
358 cont = self.shell.pycolorize(cont)
358 cont = self.shell.pycolorize(io.source_to_unicode(cont))
359 page.page(cont)
359 page.page(cont)
360
360
361 more = line_magic('more')(less)
361 more = line_magic('more')(less)
General Comments 0
You need to be logged in to leave comments. Login now