##// END OF EJS Templates
Using py3compat.unicode_to_str instead of str.
Cyrille Rossant -
Show More
@@ -218,7 +218,7 b' class CythonMagics(Magics):'
218 218 key += time.time(),
219 219
220 220 if args.name:
221 module_name = str(args.name)
221 module_name = py3compat.unicode_to_str(args.name)
222 222 else:
223 223 module_name = "_cython_magic_" + hashlib.md5(str(key).encode('utf-8')).hexdigest()
224 224 module_path = os.path.join(lib_dir, module_name + self.so_ext)
General Comments 0
You need to be logged in to leave comments. Login now