From 898a0a5af3588ccf13aed62cd17b0bef3ef4b9a1 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 5 Dec 2015 04:54:13 -0600 Subject: [PATCH] Fixes. --- tasks/infobox_station.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/infobox_station.py b/tasks/infobox_station.py index 2e40e91..791a81d 100644 --- a/tasks/infobox_station.py +++ b/tasks/infobox_station.py @@ -99,7 +99,7 @@ class InfoboxStation(Task): return summary = self.summary.format( - source="{{" + search + "}}", dest="{{" + self._replacement + "}}", + source="{{" + search + "}}", dest=self._replacement, discussion=args[3]) page.edit(unicode(code), summary, minor=True) @@ -128,4 +128,4 @@ class InfoboxStation(Task): results = self.site.sql_query(query, ( constants.NS_TEMPLATE, title.replace(" ", "_"), constants.NS_MAIN)) - return [title for (title,) in results] + return [title.replace("_", " ") for (title,) in results]