app_deploy: fix unbound variable

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2024-05-19 06:14:57 -04:00
parent cdef4e7393
commit 4e8d50367d
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ class AppDeploy(BaseDeploy):
except asyncio.CancelledError:
raise
except Exception:
logging.exception(f"Error reading install script: {deps_json}")
logging.exception(f"Error reading install script: {inst_path}")
return []
plines: List[str] = re.findall(r'PKGLIST="(.*)"', data)
plines = [p.lstrip("${PKGLIST}").strip() for p in plines]