modify scripts
This commit is contained in:
@ -231,7 +231,7 @@ def generate_union_table(mysql_conn):
|
|||||||
if not matched:
|
if not matched:
|
||||||
# 否则匹配第一个未匹配过的
|
# 否则匹配第一个未匹配过的
|
||||||
for idx in set_idx:
|
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
|
continue
|
||||||
if not stash_data[idx].get('matched', False):
|
if not stash_data[idx].get('matched', False):
|
||||||
s = stash_data[idx]
|
s = stash_data[idx]
|
||||||
|
|||||||
Reference in New Issue
Block a user