minor fix
This commit is contained in:
@@ -266,7 +266,6 @@ def main():
|
|||||||
if not code:
|
if not code:
|
||||||
print(f'[警告] 最大允许重复次数已设置为 [{args.max_occurrence}], 但未提供有效唯一标识 (如客户编号)')
|
print(f'[警告] 最大允许重复次数已设置为 [{args.max_occurrence}], 但未提供有效唯一标识 (如客户编号)')
|
||||||
occurrence = [0]
|
occurrence = [0]
|
||||||
warnings += 1
|
|
||||||
else:
|
else:
|
||||||
occurrence = occurrences.setdefault(code, [0])
|
occurrence = occurrences.setdefault(code, [0])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user