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

Handle when result is not found from server #4

Open
Mnkai opened this issue Jan 31, 2019 · 0 comments
Open

Handle when result is not found from server #4

Mnkai opened this issue Jan 31, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Mnkai
Copy link
Owner

Mnkai commented Jan 31, 2019

Traceback (most recent call last):
  File "customs.py", line 157, in <module>
    main(sys.argv[1:])
  File "customs.py", line 59, in main
    cargo_management_number = summary_decoded['resultList'][0]['cargMtNo']
IndexError: list index out of range

Purely a cosmetic issue, but will be nice to handle this one properly.

@Mnkai Mnkai added the bug Something isn't working label Jan 31, 2019
@Mnkai Mnkai self-assigned this Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant