summaryrefslogtreecommitdiff
path: root/extras/romstr.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/romstr.py')
-rw-r--r--extras/romstr.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/romstr.py b/extras/romstr.py
index 967e19c3c..b5e7d5ba8 100644
--- a/extras/romstr.py
+++ b/extras/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):