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

Word "Qat" crashes the program #51

Closed
radomirbosak opened this issue May 20, 2018 · 1 comment
Closed

Word "Qat" crashes the program #51

radomirbosak opened this issue May 20, 2018 · 1 comment
Labels

Comments

@radomirbosak
Copy link
Owner

$ duden Qat
Qat, das
========
Traceback (most recent call last):
  File "/home/user/.local/bin/duden", line 11, in <module>
    sys.exit(main())
  File "/home/user/.local/lib/python3.6/site-packages/duden/main.py", line 610, in main
    display_word(word, args)
  File "/home/user/.local/lib/python3.6/site-packages/duden/main.py", line 554, in display_word
    word.describe()
  File "/home/user/.local/lib/python3.6/site-packages/duden/main.py", line 79, in describe
    print(_('Word type: ') + self.part_of_speech)
TypeError: must be str, not NoneType
@jorgesumle
Copy link
Contributor

When fixed with pull request #52 the program doesn't fail, but it doesn't display the useful Verweis. If it's trivial to implement and there are other pages with Verweise, the program should display this information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants