mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 17:36:18 -05:00
Fixing importing multiple map files.
This commit is contained in:
parent
5de3caf839
commit
64543b5ba6
1 changed files with 2 additions and 2 deletions
|
|
@ -186,9 +186,9 @@ async def run_import_command(*paths: Path) -> int:
|
|||
import_logger.warning(f'Could not import non-pbf file: {path}')
|
||||
raise ValueError('Invalid PBF file')
|
||||
|
||||
paths = ' '.join(str(i) for i in paths)
|
||||
paths = list(map(str, paths))
|
||||
# Run with sudo so renderd can be restarted.
|
||||
cmd = (SUDO_BIN, f'{PROJECT_DIR}/scripts/import_map.sh', paths)
|
||||
cmd = (SUDO_BIN, f'{PROJECT_DIR}/scripts/import_map.sh', *paths)
|
||||
import_logger.warning(f'Running map import command: {cmd}')
|
||||
result = await run_command(cmd, debug=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue