def _inner_exist_file(path): if ImageHelper.is_zip_path(path): return ZipReader.exist_file(path) else: return os.path.exists(path)
def _inner_list_file(path): if ImageHelper.is_zip_path(path): return ZipReader.list_files(path) else: return os.listdir(path)