Browse Source

Namespaces.

tags/v0.1^2
Ben Kurtovic 13 years ago
parent
commit
1744950483
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      bot/tasks/afc_statistics.py

+ 1
- 0
bot/tasks/afc_statistics.py View File

@@ -429,6 +429,7 @@ class Task(BaseTask):
namespace, base = title.decode("utf8").split(":", 1) namespace, base = title.decode("utf8").split(":", 1)
except ValueError: except ValueError:
base = title.decode("utf8") base = title.decode("utf8")
ns = wiki.NS_MAIN
else: else:
try: try:
ns = self.site.namespace_name_to_id(namespace) ns = self.site.namespace_name_to_id(namespace)


Loading…
Cancel
Save