From 130da6f769072c8d9a869d880ade9db2e967eb14 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 18 Nov 2018 07:57:51 +0000 Subject: [PATCH] Add missing '%s' in string format (factoids.py) --- modules/factoids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/factoids.py b/modules/factoids.py index 959f17ed..72161789 100644 --- a/modules/factoids.py +++ b/modules/factoids.py @@ -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: