From dbc21a661784e190b8235b4976854d781d2a6e9f Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 28 Mar 2014 00:15:31 +0100 Subject: Also document manual plugin load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (why wasn’t that already here?) --- plugins/irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/irc.py b/plugins/irc.py index 62192ec5..6341851e 100644 --- a/plugins/irc.py +++ b/plugins/irc.py @@ -100,7 +100,7 @@ class Plugin(BasePlugin): sections = self.config.sections() for section in (s for s in sections if s != 'irc'): - server_suffix = '%%%s@%s' % (section, gateway) + server_suffix = '%{}@{}'.format(section, gateway) already_opened = False for tab in self.core.tabs: -- cgit v1.2.3