Use waving black flag for subregion flag sequences.

This was a recent change from the UTC.
pull/91/head
Doug Felt 2017-02-01 12:35:34 -08:00
parent 2dc2c4b53f
commit 930dfa805a
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def hyphenated_code_to_glyph_name(sub_code):
sub_code = sub_code.lower()
if not subcode_re.match(sub_code):
raise Exception('%s is not a valid flag subcode' % sub_code)
cps = ['u1f3f3']
cps = ['u1f3f4']
cps.extend('e00%02x' % ord(cp) for cp in sub_code if cp != '-')
cps.append('e007f')
return '_'.join(cps)