Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

查询showes时 如果城市不支持 会报错 #14

Closed
dontcallmilanac opened this issue Jun 23, 2016 · 0 comments
Closed

查询showes时 如果城市不支持 会报错 #14

dontcallmilanac opened this issue Jun 23, 2016 · 0 comments

Comments

@dontcallmilanac
Copy link

dontcallmilanac commented Jun 23, 2016

tickets 咸阳 音乐会

Traceback (most recent call last):
  File "D:\Program Files\Python36\Scripts\tickets-script.py", line 9, in <module>
    load_entry_point('tickets==0.2.3', 'console_scripts', 'tickets')()
  File "D:\Program Files\Python36\lib\site-packages\tickets-0.2.3-py3.6.egg\tickets\core.py", line 92, in cli
    q.query().pretty_print()
  File "D:\Program Files\Python36\lib\site-packages\tickets-0.2.3-py3.6.egg\tickets\showes.py", line 170, in query
    params = self._build_params()
  File "D:\Program Files\Python36\lib\site-packages\tickets-0.2.3-py3.6.egg\tickets\showes.py", line 142, in _build_params
    cityID=self._city_id, isText=1,
  File "D:\Program Files\Python36\lib\site-packages\tickets-0.2.3-py3.6.egg\tickets\showes.py", line 112, in _city_id
    exit_after_echo(CITY_NOT_FOUND)
NameError: name 'exit_after_echo' is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant