diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-07-01 08:48:27 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-07-01 08:48:27 -0500 |
commit | bb3ffe4e137d91337f6ba4b2d4b816808039c28e (patch) | |
tree | a69c30864d3a04a474b7415ed96abd17cf886752 /romstr.py | |
parent | 9a75be47090366f86e167752147253dfdeae3027 (diff) |
make pokecrystal compatible with python2.6 by default
original-commit-id: 86cb61dbe8691bb04da02007996b008bd1fa3091
Diffstat (limited to 'romstr.py')
-rw-r--r-- | romstr.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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): |