From b6cf41ea82aac20bfc5c1c19dafcd86983399193 Mon Sep 17 00:00:00 2001 From: Andrea Santaniello Date: Sun, 7 Jul 2024 14:47:53 +0200 Subject: [PATCH] Fix cast to string A missing cast to string was causing a cash in while builing the systemd file --- taky/cli/systemd_cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taky/cli/systemd_cmd.py b/taky/cli/systemd_cmd.py index 16a63b0..da9a88c 100644 --- a/taky/cli/systemd_cmd.py +++ b/taky/cli/systemd_cmd.py @@ -163,7 +163,7 @@ def systemd(args): "dps": "taky-dps.service", } else: - site_path = os.path.dirname(config.get("taky", "cfg_path")) + site_path = os.path.dirname(str(config.get("taky", "cfg_path"))) hostname = config.get("taky", "hostname") print(f" - Detected site install: {site_path}") svcs = {