Issue #69: fix zoom level.

This commit is contained in:
Sergey Vartanov 2021-08-22 18:03:40 +03:00
parent 119d6ffaa1
commit 37c97f46c6
2 changed files with 10 additions and 11 deletions

View file

@ -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)