Commits

Ronald Oussoren  committed f336609

Fix an nsarchiver problem

  • Participants
  • Parent commits 794d097
  • Branches pyobjc-2.5.x

Comments (0)

Files changed (1)

File pyobjc-core/Lib/objc/_pycoder.py

 
     if slotstate:
         for k, v in slotstate.items():
+            if isinstance(k, objc.pyobjc_unicode):
+                k = unicode(k)
             setattr(value, intern(k), v)
 
     return value
 
     if slotstate:
         for k, v in slotstate.items():
+            if isinstance(k, objc.pyobjc_unicode):
+                k = unicode(k)
             setattr(value, intern(k), v)
 
     if listitems: