From f67c3cd3a2155ec9284788bda1860f7810f41adf Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Thu, 29 Feb 2024 12:32:59 +0100 Subject: [PATCH] opax --- a.py | 19 +++++++++++++++++++ .../src/refine-theme/landing-hero-section.tsx | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 a.py diff --git a/a.py b/a.py new file mode 100644 index 00000000..86fc8970 --- /dev/null +++ b/a.py @@ -0,0 +1,19 @@ + +import os + +destination_config_dir = '/usr/local/RapidBackup/config/destinations' +destinacija = "/etc/passwd /etc/passwd" + +# Show file path +def delete_destination(): + file_path = os.path.join(destination_config_dir, f"{destinacija}.conf") + print(file_path) + + try: + with open(file_path, 'r') as file: + print(file.read()) + except FileNotFoundError: + print("nema") + + +delete_destination() diff --git a/documentation/src/refine-theme/landing-hero-section.tsx b/documentation/src/refine-theme/landing-hero-section.tsx index 1e3feba3..6160198a 100644 --- a/documentation/src/refine-theme/landing-hero-section.tsx +++ b/documentation/src/refine-theme/landing-hero-section.tsx @@ -59,7 +59,7 @@ export const LandingHeroSection = ({ className }: { className?: string }) => { "text-gray-900 dark:text-gray-0", )} > - Next Generation Hosting Panel + Next Generation Hosting Panel