vaibhavsingh97/random-word

word_of_the_day returning None

Closed this issue · 1 comments

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

Screenshots
image

Environment:

  • OS: Windows 10
  • Python 3.9.2

It has since stopped and started working normally