You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
>>>
Am I just doing it wrong, or is there a bug?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: