pedrambehroozi / telesm

An offline-first dictionary using WordNet
GNU General Public License v3.0
0 stars 0 forks source link

ValueError: too many values to unpack (expected 2) when dealing with non-existant words #5

Closed pedrambehroozi closed 6 days ago

pedrambehroozi commented 6 days ago

When searching for words which does not exist, the program throws an error:

Traceback (most recent call last):
  File "/home/pedram/projects/telesm/telesm/main.py", line 149, in <module>
    main()
  File "/home/pedram/projects/telesm/telesm/main.py", line 136, in main
    definition, examples = get_word_definition(args.word.strip().lower())
    ^^^^^^^^^^^^^^^^^^^^
ValueError: too many values to unpack (expected 2)