Add missing '%s' in string format (factoids.py)
This commit is contained in:
parent
b811872577
commit
130da6f769
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class Module(ModuleManager.BaseModule):
|
|||
if "=" in event["args"]:
|
||||
key, _, value = event["args"].partition("=")
|
||||
factoid = key.lower().strip()
|
||||
event["server"].set_setting("factoid-" % factoid, value.strip())
|
||||
event["server"].set_setting("factoid-%s" % factoid, value.strip())
|
||||
|
||||
event["stdout"].write("Set factoid '%s'" % factoid)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue