I just dropped reddit.py in a directory, and tried using the reddit object as shown on the readme.rst
However, I got this result:
>>> reddit.disconnect()
Traceback (most recent call last):
File "./reddit.py", line 135, in disconnect
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'weatherservice/cache.js on'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "./reddit.py", line 138, in disconnect
raise WeatherException("The cache file '{}' was not found.".format(filename) )
NameError: global name 'WeatherException' is not defined
>>>
KeyboardInterrupt
>>>
Problem with reddit.disconnect()
I just dropped reddit.py in a directory, and tried using the reddit object as shown on the readme.rst
However, I got this result:
Am I just doing it wrong, or is there a bug?