Add missing '%s' in string format (factoids.py)

This commit is contained in:
jesopo 2018-11-18 07:57:51 +00:00
parent b811872577
commit 130da6f769

View file

@ -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: