mirror of https://github.com/pret/pokecrystal.git
make pokecrystal compatible with python2.6 by default
This commit is contained in:
parent
58c696cfd3
commit
86cb61dbe8
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue