From a6983a0422768824311a84207f1f131e1aa5a873 Mon Sep 17 00:00:00 2001 From: wenxianping <931128603@qq.com> Date: Fri, 12 Jan 2018 23:38:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init/select_ticket_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/select_ticket_info.py b/init/select_ticket_info.py index 4a3c60e..fd269ab 100644 --- a/init/select_ticket_info.py +++ b/init/select_ticket_info.py @@ -385,7 +385,7 @@ class select: new_train_date = time.strftime("%a %b %d %Y", l_time) getQueueCountUrl = 'https://kyfw.12306.cn/otn/confirmPassenger/getQueueCount' data = { - 'train_date': new_train_date + "00:00:00 GMT+0800 (CST)", + 'train_date': str(new_train_date) + "00:00:00 GMT+0800 (CST)", 'train_no': self.get_ticketInfoForPassengerForm()['queryLeftTicketRequestDTO']['train_no'], 'stationTrainCode': self.get_ticketInfoForPassengerForm()['queryLeftTicketRequestDTO']['station_train_code'], 'seatType': self.set_type,