Skip to content

Commit

Permalink
fix(sdvxin): check if difficulty is blank
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-psi committed Dec 17, 2024
1 parent e695f46 commit 60dd641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbutils/sdvxin.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ async def update_sdvxin(

if (
match := WORLD_END_SDVXIN_REGEX.search(script_data)
) is not None:
) is not None and match.group("difficulty").strip():
level = match.group("difficulty").strip()
elif (
match := WORLD_END_DIFFICULTY_REGEX.search(script_data)
Expand Down

0 comments on commit 60dd641

Please sign in to comment.