bugfix: 修复异常信息输出变量命名有误

This commit is contained in:
chenwj 2022-11-10 16:40:55 +08:00
parent c4562f203a
commit 5e38fc6df7
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class Lottery(object):
else: else:
record.draw_date = date(int(m2.group(1)), int(m2.group(2)), int(m2.group(3))) record.draw_date = date(int(m2.group(1)), int(m2.group(2)), int(m2.group(3)))
else: else:
raise Exception(f"issue:{issue}数据写入失败。。。") raise Exception(f"issue:{draw_issue}数据写入失败。。。")
# 如果是排列3和3D # 如果是排列3和3D
if isinstance(record, PLS) or isinstance(record, SD): if isinstance(record, PLS) or isinstance(record, SD):
record.hundred = draw_code[0] record.hundred = draw_code[0]