Skip to content

Commit

Permalink
Update svg_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 authored Jul 23, 2024
1 parent 8b90cc6 commit f8c49be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plone/namedfile/utils/svg_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

def calculate_dimensions_from_viewbox(view_box):
parts = [float(x) for x in view_box.split()]
print(f"Parsed viewBox parts: {parts}")
if len(parts) == 4:
width = int(parts[2] - parts[0])
height = int(parts[3] - parts[1])
Expand Down

0 comments on commit f8c49be

Please sign in to comment.