modify scripts

This commit is contained in:
2025-12-25 16:14:18 +08:00
parent 274c187e18
commit 9e3066317d

View File

@ -231,7 +231,7 @@ def generate_union_table(mysql_conn):
if not matched:
# 否则匹配第一个未匹配过的
for idx in set_idx:
if stash_data[idx]['code'].lower() in whisper_codes:
if stash_data[idx]['code'] and stash_data[idx]['code'].lower() in whisper_codes:
continue
if not stash_data[idx].get('matched', False):
s = stash_data[idx]