Skip to content

Commit 20f0087

Browse files
authored
Update app.py
1 parent 5fbfe11 commit 20f0087

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +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-
5754
# Handles case sensitivity
5855
style = style.lower() if style is not None else "default"
56+
5957
style_templates = {
6058
"default": {
6159
"title": "",

0 commit comments

Comments
 (0)