Fixed bug with reddit plugin.

This commit is contained in:
Blake Bengtson 2013-11-26 16:07:53 -06:00
parent cd4b65de3d
commit df6ee28462
1 changed files with 1 additions and 1 deletions

View File

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