mellort/reddit_api — Issue #58: KeyError: 'data' (MoreComments class, comments method)
Author: Tizen
Created: 2012-02-04 14:52:19+00:00
State: open

File "C:\Python\Python27\lib\site-packages\reddit-1.2.5-py2.7.egg\reddit\objects.py", line 326, in comments
```self._comments = response['data']['things']```
KeyError: 'data'

I believe this is a result of the previous line:
```response = self.reddit_session.request_json(url, params)```
returning null or some other NOT dict; for whatever reason.

Recommendation is to check for this occurrance and fail silently.