mirror of https://github.com/openXC7/prjxray.git
Fix missing self. on db_root.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
parent
522a684a7b
commit
d4f9d10c8c
|
|
@ -62,7 +62,7 @@ class Segmaker:
|
|||
|
||||
def load_grid(self):
|
||||
'''Load self.grid holding tile addresses'''
|
||||
with open(os.path.join(db_root, "tilegrid.json"), "r") as f:
|
||||
with open(os.path.join(self.db_root, "tilegrid.json"), "r") as f:
|
||||
self.grid = json.load(f)
|
||||
assert "segments" not in self.grid, "Old format tilegrid.json"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue