This website works better with JavaScript.
Home
Help
Sign In
ben
/
earwigbot
mirror of
https://github.com/earwig/earwigbot
Watch
1
Star
1
Fork
0
Code
Releases
4
Activity
Browse Source
Ignore sites without a name.
tags/v0.1^2
Ben Kurtovic
12 years ago
parent
3079ba5be7
commit
725fea40e3
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
earwigbot/commands/langcode.py
+ 2
- 0
earwigbot/commands/langcode.py
View File
@@ -40,6 +40,8 @@ class Langcode(Command):
del matrix["specials"]
for site in matrix.itervalues():
if not site["name"]:
continue
name = site["name"].encode("utf8")
localname = site["localname"].encode("utf8")
if site["code"] == lcase:
Write
Preview
Loading…
Cancel
Save