Fixed bug with reddit plugin.
This commit is contained in:
parent
cd4b65de3d
commit
df6ee28462
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def reddit(inp):
|
||||||
|
|
||||||
|
|
||||||
# get the requested/random post
|
# get the requested/random post
|
||||||
if id_num:
|
if id_num != None:
|
||||||
try:
|
try:
|
||||||
item = data[id_num]["data"]
|
item = data[id_num]["data"]
|
||||||
except IndexError:
|
except IndexError:
|
||||||
|
|
Reference in a new issue