mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-23 07:43:36 +05:00
shortens imports and helps with auto imports from IDE Signed-off-by: Dominik Willner <th33xitus@gmail.com>
24 lines
1.1 KiB
Python
24 lines
1.1 KiB
Python
#!/usr/bin/env python3
|
|
|
|
# ======================================================================= #
|
|
# Copyright (C) 2020 - 2024 Dominik Willner <th33xitus@gmail.com> #
|
|
# #
|
|
# This file is part of KIAUH - Klipper Installation And Update Helper #
|
|
# https://github.com/dw-0/kiauh #
|
|
# #
|
|
# This file may be distributed under the terms of the GNU GPLv3 license #
|
|
# ======================================================================= #
|
|
|
|
from pathlib import Path
|
|
|
|
from core.backup_manager import BACKUP_ROOT_DIR
|
|
|
|
MODULE_PATH = Path(__file__).resolve().parent
|
|
INVALID_CHOICE = "Invalid choice. Please select a valid value."
|
|
PRINTER_CFG_BACKUP_DIR = BACKUP_ROOT_DIR.joinpath("printer-cfg-backups")
|
|
|
|
# ================== NGINX =====================#
|
|
NGINX_SITES_AVAILABLE = Path("/etc/nginx/sites-available")
|
|
NGINX_SITES_ENABLED = Path("/etc/nginx/sites-enabled")
|
|
NGINX_CONFD = Path("/etc/nginx/conf.d")
|