mirror of
https://github.com/enzet/map-machine.git
synced 2025-07-27 21:39:17 +02:00
Fix zoom level.
Zoom level may be float and should not be cast to integer.
This commit is contained in:
parent
23a05534df
commit
e2ab792213
3 changed files with 5 additions and 5 deletions
|
@ -191,7 +191,7 @@ def ui(arguments: argparse.Namespace) -> None:
|
|||
:param arguments: command-line arguments
|
||||
"""
|
||||
configuration: MapConfiguration = MapConfiguration.from_options(
|
||||
arguments, int(arguments.zoom)
|
||||
arguments, float(arguments.zoom)
|
||||
)
|
||||
cache_path: Path = Path(arguments.cache)
|
||||
cache_path.mkdir(parents=True, exist_ok=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue