Fixed bug with reddit plugin.
This commit is contained in:
parent
cd4b65de3d
commit
df6ee28462
|
@ -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:
|
||||
|
|
Reference in New Issue