aboutsummaryrefslogtreecommitdiffstats
path: root/ongeki/aquadx
diff options
context:
space:
mode:
Diffstat (limited to 'ongeki/aquadx')
-rw-r--r--ongeki/aquadx/ongeki_aquadx_to_tachi.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ongeki/aquadx/ongeki_aquadx_to_tachi.py b/ongeki/aquadx/ongeki_aquadx_to_tachi.py
index 0319526..8feee7f 100644
--- a/ongeki/aquadx/ongeki_aquadx_to_tachi.py
+++ b/ongeki/aquadx/ongeki_aquadx_to_tachi.py
@@ -39,6 +39,9 @@ def convert_chuni_aquadx_json_to_tachi_json(input_json: str, output_file: str, s
if "recent" in raw_data:
for entry in raw_data["recent"]:
level = entry.get("level", 0)
+ if level not in DIFFICULTY_MAPPING.keys():
+ skipped_count += 1
+ continue
processed_count += 1
try:
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage