run make format

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
Alessandro Comodi 2020-01-16 14:27:42 +01:00
parent 5f12851934
commit d571c0c014
1 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,8 @@ class Segmaker:
def load_grid(self):
'''Load self.grid holding tile addresses'''
with open(os.path.join(self.db_root, self.part, "tilegrid.json"), "r") as f:
with open(os.path.join(self.db_root, self.part, "tilegrid.json"),
"r") as f:
self.grid = json.load(f)
assert "segments" not in self.grid, "Old format tilegrid.json"