Skip to content

Commit c9b1404

Browse files
committed
支持K开头车次选择漏改
1 parent 8755a1c commit c9b1404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack12306.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def searchMore(self):
103103
'Z': u'Z-直达', # 直达
104104
'K': u'K-快速' # 快速
105105
}
106-
if type == 'T' or type == 'G' or type == 'D' or type == 'Z':
106+
if type == 'T' or type == 'G' or type == 'D' or type == 'Z' or type == 'K':
107107
print(u'--------->选择的车次类型', train_type_dict[type])
108108
self.driver.find_by_text(train_type_dict[type]).click()
109109
else:

0 commit comments

Comments
 (0)