summaryrefslogtreecommitdiff
path: root/extras/romstr.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-07-01 08:44:20 -0500
committerBryan Bishop <kanzure@gmail.com>2012-07-01 08:44:20 -0500
commit58c696cfd3a024751d133ed9a9b6809b3a0ff36c (patch)
tree1dc1e3a4fded76f8160b065a377d57bb8d63537e /extras/romstr.py
parent85d26e31a5f209aa059250778ec79f762212825f (diff)
use extras/labels.json and not ./labels.json in romstr.py
Diffstat (limited to 'extras/romstr.py')
-rw-r--r--extras/romstr.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/romstr.py b/extras/romstr.py
index d89c67ef5..967e19c3c 100644
--- a/extras/romstr.py
+++ b/extras/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 = {}