Skip to content

Commit 76e5d2a

Browse files
committed
Fix generate error
1 parent e0a54c6 commit 76e5d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ def getLinkReplacement(match, links):
926926
app["icon_index"] if "icon_index" in app else -1,
927927
app["color_bg"] if "color_bg" in app else app["color"] if "color" in app else "",
928928
app["stars"] if "stars" in app else 0,
929-
app["script_message"] if "script_message" in app else ""
929+
app["script_message"] if "script_message" in app and type(app["script_message"]) == str else ""
930930
)
931931

932932
# Change "DS" to "NDS" so it can be searched for

0 commit comments

Comments
 (0)