Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/mwlib
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2008-05-25 16:23:26 (GMT)
committer Chris Ball <cjb@laptop.org>2008-05-25 16:23:26 (GMT)
commit341a7dc9682663910fa7c0d31154f651dbb33efc (patch)
tree11d82b141bef2ecded5d2258a9c90d25d41a8ec3 /mwlib
parente1193acb3e51eaa10f758360087323a8b0fa57ed (diff)
Fix template blacklist (#7077) and update it.
Diffstat (limited to 'mwlib')
-rwxr-xr-xmwlib/expander.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mwlib/expander.py b/mwlib/expander.py
index c45a4ea..b0bdc38 100755
--- a/mwlib/expander.py
+++ b/mwlib/expander.py
@@ -389,7 +389,7 @@ class Expander(object):
self.blacklist = set()
with open("es_PE/template_blacklist", 'r') as f:
for line in f.readlines():
- self.blacklist.add(line.rstrip())
+ self.blacklist.add(line.rstrip().decode('utf8'))
def getParsedTemplate(self, name):
if name.startswith("[["):