Browse Source

Fixes.

pull/10/merge
Ben Kurtovic 9 years ago
parent
commit
898a0a5af3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tasks/infobox_station.py

+ 2
- 2
tasks/infobox_station.py View File

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

Loading…
Cancel
Save