summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):