Skip to content

Commit 9e926f4

Browse files
mhhd2020matthiasschaub
authored andcommitted
Update generate_pdf.py: Clarify comment
1 parent 85d9b18 commit 9e926f4

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
@@ -125,7 +125,8 @@ def generate_pdf( # noqa: C901
125125
map_pdf.seek(0)
126126
map_frame.seek(0)
127127

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

131132
return map_pdf, map_frame

0 commit comments

Comments
 (0)