modify scripts
This commit is contained in:
@ -108,7 +108,7 @@ def sync_whisper_to_stash(whisper_db_path, stash_db_path, dir_prefix, studio_fil
|
||||
# 在whisper数据中查找匹配项
|
||||
matched = False
|
||||
for whisper_code, whisper_row in idx_whisper.items():
|
||||
if whisper_code and basename and str(whisper_code) in basename:
|
||||
if whisper_code and basename and str(whisper_code).lower() in basename.lower():
|
||||
# 找到匹配项,更新stash数据库
|
||||
matched = True
|
||||
matched_cnt += 1
|
||||
|
||||
Reference in New Issue
Block a user