summaryrefslogtreecommitdiff
path: root/romstr.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-07-01 08:48:27 -0500
committerBryan Bishop <kanzure@gmail.com>2012-07-01 08:48:27 -0500
commitbb3ffe4e137d91337f6ba4b2d4b816808039c28e (patch)
treea69c30864d3a04a474b7415ed96abd17cf886752 /romstr.py
parent9a75be47090366f86e167752147253dfdeae3027 (diff)
make pokecrystal compatible with python2.6 by default
original-commit-id: 86cb61dbe8691bb04da02007996b008bd1fa3091
Diffstat (limited to 'romstr.py')
-rw-r--r--romstr.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/romstr.py b/romstr.py
index 967e19c..b5e7d5b 100644
--- a/romstr.py
+++ b/romstr.py
@@ -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):