summaryrefslogtreecommitdiff
path: root/romstr.py
diff options
context:
space:
mode:
Diffstat (limited to 'romstr.py')
-rw-r--r--romstr.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/romstr.py b/romstr.py
index d89c67e..967e19c 100644
--- a/romstr.py
+++ b/romstr.py
@@ -49,6 +49,8 @@ class RomStr(str):
""" Loads labels from labels.json, or parses the source code file and
generates new labels.
"""
+ filename = os.path.dirname(__file__) + "/" + filename
+
# blank out the hash
self.labels = {}