Bladeren bron

Fixes.

pull/10/merge
Ben Kurtovic 9 jaren geleden
bovenliggende
commit
898a0a5af3
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +2
    -2
      tasks/infobox_station.py

+ 2
- 2
tasks/infobox_station.py Bestand weergeven

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

Laden…
Annuleren
Opslaan