Skip to content

Commit 0de046b

Browse files
committed
Update generate_pdf.py: Clarify comment
1 parent 1bd8db0 commit 0de046b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sketch_map_tool/map_generation/generate_pdf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ def generate_pdf( # noqa: C901
126126
map_pdf.seek(0)
127127
map_frame.seek(0)
128128

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

132133
return map_pdf, map_frame

0 commit comments

Comments
 (0)