From b34c0564396f349f506b848843691a9a4a027ad3 Mon Sep 17 00:00:00 2001 From: Jason Nucciarone <40342202+NucciTheBoss@users.noreply.github.com> Date: Fri, 28 Jun 2024 10:33:56 -0400 Subject: [PATCH] revert: remove lib path from `PYTHONPATH` --- lib/charms/operator_libs_linux/v0/juju_systemd_notices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/charms/operator_libs_linux/v0/juju_systemd_notices.py b/lib/charms/operator_libs_linux/v0/juju_systemd_notices.py index 72cbdb9..08157c9 100644 --- a/lib/charms/operator_libs_linux/v0/juju_systemd_notices.py +++ b/lib/charms/operator_libs_linux/v0/juju_systemd_notices.py @@ -198,7 +198,7 @@ def subscribe(self) -> None: Type=simple Restart=always WorkingDirectory={self._charm.framework.charm_dir} - Environment="PYTHONPATH={self._charm.framework.charm_dir / "venv"}:{self._charm.framework.charm_dir / "lib"}" + Environment="PYTHONPATH={self._charm.framework.charm_dir / "venv"}" ExecStart=/usr/bin/python3 {__file__} {self._charm.unit.name} [Install]