From 0681cef3db70f4ff5446472573e54dc5d10b277e Mon Sep 17 00:00:00 2001 From: Jalin Date: Fri, 18 Jan 2019 10:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8D=E7=A7=B0=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- py12306/query/query.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 13f2c26..1a750ce 100644 --- a/main.py +++ b/main.py @@ -16,7 +16,7 @@ def main(): App.did_start() App.run_check() - Query.check_before_fun() + Query.check_before_run() ####### 运行任务 Web.run() diff --git a/py12306/query/query.py b/py12306/query/query.py index 43bdb73..169dbca 100644 --- a/py12306/query/query.py +++ b/py12306/query/query.py @@ -51,7 +51,7 @@ class Query: pass @classmethod - def check_before_fun(cls): + def check_before_run(cls): self = cls() self.init_jobs() self.is_ready = True