Commits

Anonymous committed dc726a7

BUG: Make sure that we have byte names rather than unicode names.

Comments (0)

Files changed (1)

kernmagic/mymagics.py

         else:
             print 'Adding variables:'
     for name in args.names:
+        name = name.encode('ascii')
         var = factory(name, **kwds)
         self.user_ns[name] = var
         if not args.quiet: