jenkins-bot has submitted this change and it was merged.
Change subject: Fix coordinates bug ......................................................................
Fix coordinates bug
Change-Id: Iaa38d76ada7732f071936b2e3ec3a7e730fcd56f --- M pywikibot/data/api.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py index 45c5d04..264dc13 100644 --- a/pywikibot/data/api.py +++ b/pywikibot/data/api.py @@ -1006,7 +1006,7 @@ coord = pywikibot.Coordinate(lat=co['lat'], lon=co['lon'], typ=co.get('type', ''), - name=co['name'], + name=co.get('name', ''), dim=int(co['dim']), globe=co['globe'], # See [[gerrit:67886]] )
pywikibot-commits@lists.wikimedia.org