##// END OF EJS Templates
Merge pull request #7261 from otakucode/master...
Thomas Kluyver -
r19631:7ab0a492 merge
parent child Browse files
Show More
@@ -229,7 +229,6 b' class KernelMagics(Magics):'
229 if not arg_s:
229 if not arg_s:
230 raise UsageError('Missing filename.')
230 raise UsageError('Missing filename.')
231
231
232 cont = open(arg_s).read()
233 if arg_s.endswith('.py'):
232 if arg_s.endswith('.py'):
234 cont = self.shell.pycolorize(openpy.read_py_file(arg_s, skip_encoding_cookie=False))
233 cont = self.shell.pycolorize(openpy.read_py_file(arg_s, skip_encoding_cookie=False))
235 else:
234 else:
General Comments 0
You need to be logged in to leave comments. Login now