Skip to content

Commit 5fbfe11

Browse files
Update app.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent d493620 commit 5fbfe11

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ def get_style_fields(style):
5555
return {}
5656

5757
# Handles case sensitivity
58-
style = style.lower()
59-
58+
style = style.lower() if style is not None else "default"
6059
style_templates = {
6160
"default": {
6261
"title": "",

0 commit comments

Comments
 (0)