I'
m an idiot
This commit is contained in:
parent
7f98bf912c
commit
bdc35a48b9
1 changed files with 0 additions and 2 deletions
|
@ -151,8 +151,6 @@ def factoid(inp, say=None, db=None, bot=None, me=None, conn=None, input=None):
|
||||||
# if factoid had arguments, replace $inp with that
|
# if factoid had arguments, replace $inp with that
|
||||||
if arguments:
|
if arguments:
|
||||||
data = data.replace("$inp", arguments)
|
data = data.replace("$inp", arguments)
|
||||||
else
|
|
||||||
data = data.replace("$inp", "null")
|
|
||||||
|
|
||||||
# if <py>, execute python code
|
# if <py>, execute python code
|
||||||
if data.startswith("<py>"):
|
if data.startswith("<py>"):
|
||||||
|
|
Reference in a new issue