make pokecrystal compatible with python2.6 by default

original-commit-id: 86cb61dbe8691bb04da02007996b008bd1fa3091
This commit is contained in:
Bryan Bishop 2012-07-01 08:48:27 -05:00
parent 9a75be4709
commit bb3ffe4e13

View File

@ -23,7 +23,8 @@ class RomStr(str):
"""
def __init__(self, *args, **kwargs):
self.load_labels()
if "labels" in kwargs.keys() and kwargs["labels"] == True:
self.load_labels()
str.__init__(self)
def __repr__(self):