Skip to content

Commit

Permalink
Update generate_pdf.py: Clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mhhd2020 committed Feb 24, 2023
1 parent 1bd8db0 commit 0de046b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sketch_map_tool/map_generation/generate_pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def generate_pdf( # noqa: C901
map_pdf.seek(0)
map_frame.seek(0)

# Resize map_frame to avoid very large objects in upload processing of e.g. A0 maps
# Resize map_frame if a length of 2000 px is exceeded in one dimension to avoid very large objects in upload
# processing of e.g. A0 maps
map_frame = resize_png(map_frame, max_length=2000)

return map_pdf, map_frame
Expand Down

0 comments on commit 0de046b

Please sign in to comment.