word_of_the_day returning None
Closed this issue · 1 comments
Gooselord78 commented
Describe the bug
Instead of returning a json it returns None
To Reproduce
Steps to reproduce the behavior:
from random_word import RandomWords
r = RandomWords()
word_of_the_day_dict = json.loads(r.word_of_the_day())
Expected behavior
The idea is that it returns a json string
Environment:
- OS: Windows 10
- Python 3.9.2
Gooselord78 commented
It has since stopped and started working normally