make pokecrystal compatible with python2.6 by default

This commit is contained in:
Bryan Bishop 2012-07-01 08:48:27 -05:00
parent 58c696cfd3
commit 86cb61dbe8
1 changed files with 2 additions and 1 deletions

View File

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