From: Johannes Berg Date: Sun, 25 May 2008 00:09:41 +0000 (+0200) Subject: web viewer: fix bug X-Git-Tag: v0.9~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec65bd9bdd6dc37502368d423848a5cacc415dbc;p=platform%2Fupstream%2Fcrda.git web viewer: fix bug --- diff --git a/web/Regulatory.py b/web/Regulatory.py index 890accf..d46fe23 100644 --- a/web/Regulatory.py +++ b/web/Regulatory.py @@ -124,8 +124,8 @@ def _get_iso_code(code): if not _iso_list: for line in codecs.open('/usr/share/iso-codes/iso_3166.tab', encoding='utf-8'): line = line.strip() - code, name = line.split('\t') - _iso_list[code] = name + c, name = line.split('\t') + _iso_list[c] = name _iso_list['00'] = 'Debug 1' _iso_list['01'] = 'Debug 2' _iso_list['02'] = 'Debug 3'