minor fix
This commit is contained in:
@@ -263,11 +263,7 @@ def main():
|
|||||||
code = codes[current]
|
code = codes[current]
|
||||||
mark = sents[current]
|
mark = sents[current]
|
||||||
|
|
||||||
if not code:
|
occurrence = occurrences.setdefault(code, [0]) if code else [0]
|
||||||
print(f'[警告] 最大允许重复次数已设置为 [{args.max_occurrence}], 但未提供有效唯一标识 (如客户编号)')
|
|
||||||
occurrence = [0]
|
|
||||||
else:
|
|
||||||
occurrence = occurrences.setdefault(code, [0])
|
|
||||||
|
|
||||||
if mark is not None and str(mark).strip():
|
if mark is not None and str(mark).strip():
|
||||||
print(f'[信息] 已跳过项目 {recipient}')
|
print(f'[信息] 已跳过项目 {recipient}')
|
||||||
|
|||||||
Reference in New Issue
Block a user