detect floorplan using asyncio
This commit is contained in:
parent
68cc70bd11
commit
b1e0ed170b
3 changed files with 22 additions and 9 deletions
|
|
@ -135,7 +135,7 @@ def detect_floorplan(ctx: click.core.Context):
|
|||
data_dir = ctx.obj['data_dir']
|
||||
click.echo(f'Running detect_floorplan in {data_dir}')
|
||||
listing_paths = sorted(list(pathlib.Path(data_dir).glob("*/listing.json")))
|
||||
detect_floorplan_module.detect_floorplan(listing_paths)
|
||||
asyncio.run(detect_floorplan_module.detect_floorplan(listing_paths))
|
||||
|
||||
|
||||
@cli.command()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue