Skip to content

Commit d493620

Browse files
authored
Update app.py
1 parent 346b73b commit d493620

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ def get_style_fields(style):
5151
or an empty dictionary if the style is not found.
5252
"""
5353

54+
if not style:
55+
return {}
56+
5457
# Handles case sensitivity
5558
style = style.lower()
5659

0 commit comments

Comments
 (0)