Merge pull request #183 from bbeng89/develop

Bug fixes in reddit and github plugins
This commit is contained in:
Luke Rogers 2013-11-26 19:51:05 -08:00
commit f51bcf4ecf
2 changed files with 4 additions and 4 deletions

View file

@ -52,7 +52,7 @@ def reddit(inp):
data = data["data"]["children"]
# get the requested/random post
if id_num:
if id_num != None:
try:
item = data[id_num]["data"]
except IndexError: