diff --git a/tools/releasetools/ota_utils.py b/tools/releasetools/ota_utils.py index e1529c74e4..06349a240b 100644 --- a/tools/releasetools/ota_utils.py +++ b/tools/releasetools/ota_utils.py @@ -713,7 +713,7 @@ def IsZucchiniCompatible(source_file: str, target_file: str): if entry in zfp.namelist(): return zfp.read(entry).decode() else: - entry_path = os.path.join(entry, path) + entry_path = os.path.join(path, entry) if os.path.exists(entry_path): with open(entry_path, "r") as fp: return fp.read()