Changeset 261:7668243695f4


Ignore:
Timestamp:
04/08/11 08:40:16 (12 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Message:

Trial patch for dealing with unicode dict key issue on Windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/base.py

    r254 r261  
    305305def find_sprite(descr, mod_name=None):
    306306    """Create a sprite object from a dictionary describing it."""
    307     descr = descr.copy()
     307    descr = dict((str(k), v) for k, v in descr.items()) # convert unicode keys
    308308    cls_name = descr.pop("type")
    309309    if mod_name is None:
Note: See TracChangeset for help on using the changeset viewer.