use extras/labels.json and not ./labels.json in romstr.py

This commit is contained in:
Bryan Bishop 2012-07-01 08:44:20 -05:00
parent 85d26e31a5
commit 58c696cfd3

View File

@ -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 = {}