Skip to content

Commit

Permalink
保存下
Browse files Browse the repository at this point in the history
  • Loading branch information
iBreaker committed Nov 21, 2017
1 parent a5d725f commit f239393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bjguahao.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def __init__(self, config_path="config.yaml"):
self.config = Config(config_path) # config对象

def is_login(self):

logging.info("开始检查是否已经登录")
hospital_id = self.config.hospital_id
department_id = self.config.department_id
Expand Down Expand Up @@ -155,13 +156,12 @@ def auth_login(self):

def select_doctor(self):
"""选择合适的大夫"""

hospital_id = self.config.hospital_id
department_id = self.config.department_id
duty_code = self.config.duty_code
duty_date = self.config.date

# log current date
# log current date
logging.debug("当前挂号日期: " + self.config.date)

preload = {
Expand Down

0 comments on commit f239393

Please sign in to comment.