def parselist(value): if isinstance(value, str): return [ unitolocal(v) for v in configparser.parselist(unifromlocal(value)) ] else: return value
def parselist(value): if isinstance(value, str): return configparser.parselist(value) else: return value