Fixes https://github.com/praw-dev/praw/issues/265

As per #265