diff --git a/plugins/reddit.py b/plugins/reddit.py index cdf619b..473ab3d 100644 --- a/plugins/reddit.py +++ b/plugins/reddit.py @@ -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: