增加 夜间休息限制

This commit is contained in:
Jalin
2019-01-06 23:45:41 +08:00
parent 3446bfc9c2
commit ac5cc0824a
7 changed files with 42 additions and 20 deletions

View File

@@ -2,16 +2,16 @@
import os
from threading import Thread
from py12306.log.query_log import QueryLog
from py12306.helpers.func import *
from py12306.query.query import Query
from py12306.user.user import User
def main():
# Thread(target=Query.run).start() # 余票查询
# QueryLog.add_log('init')
create_thread_and_run(User, 'run', wait=False)
Query.run()
# Query.run()
User.run()
pass