Skip to content

Commit 8fdef4a

Browse files
committed
fix easy bug
1 parent 0dac30d commit 8fdef4a

File tree

193 files changed

+5373
-5334
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+5373
-5334
lines changed
Binary file not shown.
0 Bytes
Binary file not shown.

assets/scripts/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def gen_tag_and_difficulty():
175175
continue
176176
if "<font color=#ffb800>Medium</font>" in content:
177177
continue
178-
if "<font color=#15bd66>Esay</font>" in content:
178+
if "<font color=#15bd66>Easy</font>" in content:
179179
continue
180180

181181
content, after = content.split(delim)

assets/scripts/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def format_difficulty(difficulty: str, show_emoji: bool = False):
6262
font = "<font color=#ffb800>Medium</font>"
6363
elif difficulty == "简单":
6464
emoji = "🟢"
65-
font = "<font color=#15bd66>Esay</font>"
65+
font = "<font color=#15bd66>Easy</font>"
6666
if show_emoji:
6767
return emoji + " " + font
6868
return font

0 commit comments

Comments
 (0)