Index: trunk/tools/editor_trends/etl/extracter.py |
— | — | @@ -92,7 +92,8 @@ |
93 | 93 | if len(ns) == 1 and '0' in namespaces: |
94 | 94 | return {'id': 0, 'name': 'main namespace'} |
95 | 95 | else: |
96 | | - if ns[0] in namespaces: |
| 96 | + if ns[0] in namespaces.values(): |
| 97 | + #print namespaces, title.decode('utf-8'), ns |
97 | 98 | return {'id': ns[0], 'name': ns[1]} |
98 | 99 | else: |
99 | 100 | return False |