py12306 icon indicating copy to clipboard operation
py12306 copied to clipboard

运行错误!AttributeError: 'NoneType' object has no attribute 'group'

Open parzulpan opened this issue 4 years ago • 11 comments

Traceback (most recent call last): File "D:/job/projects/code/py12306/main.py", line 64, in main() File "D:/job/projects/code/py12306/main.py", line 20, in main Query.check_before_run() File "D:\job\projects\code\py12306\py12306\query\query.py", line 59, in check_before_run self = cls() File "D:\job\projects\code\py12306\py12306\helpers\func.py", line 30, in singleton_new it.init_original(*args, **kw) File "D:\job\projects\code\py12306\py12306\query\query.py", line 35, in init self.get_query_api_type() File "D:\job\projects\code\py12306\py12306\query\query.py", line 154, in get_query_api_type self.api_type = res.group(1) AttributeError: 'NoneType' object has no attribute 'group

parzulpan avatar Dec 19 '19 07:12 parzulpan