Index: trunk/tools/editor_trends/etl/enricher.py |
— | — | @@ -303,8 +303,8 @@ |
304 | 304 | |
305 | 305 | |
306 | 306 | def count_edits(article, counts, bots): |
307 | | - title = article['title'].text |
308 | | - namespace = determine_namespace(article['title']) |
| 307 | + title = article['title'] |
| 308 | + namespace = determine_namespace(title) |
309 | 309 | |
310 | 310 | if namespace != False: |
311 | 311 | article_id = article['id'].text |