Fxing reddit errors (bad params)
This commit is contained in:
parent
d06a9fa3a2
commit
414d9adffd
@ -306,6 +306,7 @@ class ChatBot():
|
|||||||
"""matches a list of two elements to one int and one string
|
"""matches a list of two elements to one int and one string
|
||||||
returns int, string or invalid, invalid
|
returns int, string or invalid, invalid
|
||||||
"""
|
"""
|
||||||
|
args = list(args)
|
||||||
if len(args) == 2:
|
if len(args) == 2:
|
||||||
p1 = args[0], p2 = args[1]
|
p1 = args[0], p2 = args[1]
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user