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