dfsdf
This commit is contained in:
parent
dd50cb4a36
commit
651db7168f
|
@ -40,6 +40,8 @@ def reddit(inp):
|
||||||
id_num = int(parts[1]) - 1
|
id_num = int(parts[1]) - 1
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return "Invalid post number."
|
return "Invalid post number."
|
||||||
|
else:
|
||||||
|
subreddit = parts[0]
|
||||||
else:
|
else:
|
||||||
subreddit = "all"
|
subreddit = "all"
|
||||||
|
|
||||||
|
|
Reference in a new issue