app_deploy: fix unbound variable

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan committed 2024-07-24 06:29:59 -04:00
1 parent cdef4e7393
commit 4e8d50367d
1 file changed
+1 -1
@@ -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]