mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-30 09:26:26 +02:00
Issue #69: fix zoom level.
This commit is contained in:
parent
119d6ffaa1
commit
37c97f46c6
2 changed files with 10 additions and 11 deletions
|
@ -49,8 +49,6 @@ class Handler(SimpleHTTPRequestHandler):
|
|||
file_obj=input_file, write_to=str(png_path)
|
||||
)
|
||||
logging.info(f"SVG file is rasterized to {png_path}.")
|
||||
if zoom != 18:
|
||||
return
|
||||
if png_path.exists():
|
||||
with png_path.open("rb") as input_file:
|
||||
self.send_response(200)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue