work : поправил путь для Linux

This commit is contained in:
2026-09-20 16:27:50 +03:00
parent 74f385d52d
commit dbd06c0d42
+1 -1
View File
@@ -113,7 +113,7 @@ class ServiceFunctions:
FileNotFoundError: Если файл config.conf не найден. FileNotFoundError: Если файл config.conf не найден.
""" """
config_path = "/etc/caddy-to-dsm/config.conf" config_path = Path("/etc/caddy-to-dsm/config.conf")
if not config_path.is_file(): if not config_path.is_file():
logging.error(f"Config file not found: {config_path}") logging.error(f"Config file not found: {config_path}")