Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0d49f5b authored by Zhou Xuezan's avatar Zhou Xuezan Committed by Jia Jia
Browse files

Fix incorrect input for path and entry

Change-Id: Idff184d8fb8b328f42fc4f96cdde2663f6581864
parent 21554ab3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()