mirror of
https://github.com/openXC7/prjxray.git
synced 2026-09-07 11:31:17 +02:00
Fix missing self. on db_root.
Signed-off-by: Keith Rothman <[email protected]>
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user