Convert option list to unicode

pull/6361/head
Jimmy Brisson 2018-03-14 11:03:39 -05:00
parent af46177a65
commit 229a072e49
1 changed files with 2 additions and 0 deletions

View File

@ -393,6 +393,8 @@ def argparse_force_type(case):
"""
def middle(lst, type_name):
""" The parser type generator"""
if not isinstance(lst[0], unicode):
lst = [o.decode() for o in lst]
def parse_type(string):
""" The parser type"""
if not isinstance(string, unicode):