loading text file or json as suggested in readme is giving following output.
Traceback (most recent call last):
File "/home/murali/.pyenv/versions/2.7.10/bin/wpm", line 11, in
wpm.commandline.main()
File "/home/murali/.pyenv/versions/2.7.10/lib/python2.7/site-packages/wpm/commandline.py", line 130, in main
with wpm.game.Game(quotes, stats) as game:
File "/home/murali/.pyenv/versions/2.7.10/lib/python2.7/site-packages/wpm/game.py", line 246, in init
self.quotes = quotes.random_iterator()
AttributeError: 'list' object has no attribute 'random_iterator'
loading text file or json as suggested in readme is giving following output.
Traceback (most recent call last): File "/home/murali/.pyenv/versions/2.7.10/bin/wpm", line 11, in
wpm.commandline.main()
File "/home/murali/.pyenv/versions/2.7.10/lib/python2.7/site-packages/wpm/commandline.py", line 130, in main
with wpm.game.Game(quotes, stats) as game:
File "/home/murali/.pyenv/versions/2.7.10/lib/python2.7/site-packages/wpm/game.py", line 246, in init
self.quotes = quotes.random_iterator()
AttributeError: 'list' object has no attribute 'random_iterator'