diff options
Diffstat (limited to 'mirrors')
-rw-r--r-- | mirrors/views/api.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrors/views/api.py b/mirrors/views/api.py index b72585e6..581a0d5e 100644 --- a/mirrors/views/api.py +++ b/mirrors/views/api.py @@ -26,6 +26,7 @@ class MirrorStatusJSONEncoder(DjangoJSONEncoder): country = obj.country data['country'] = unicode(country.name) data['country_code'] = country.code + data['isos'] = obj.mirror.isos return data if isinstance(obj, MirrorProtocol): return unicode(obj) |