This commit is contained in:
Stefan Pejcic 2024-02-29 12:32:59 +01:00
parent eb5e63365f
commit f67c3cd3a2
2 changed files with 20 additions and 1 deletions

19
a.py Normal file
View file

@ -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()

View file

@ -59,7 +59,7 @@ export const LandingHeroSection = ({ className }: { className?: string }) => {
"text-gray-900 dark:text-gray-0", "text-gray-900 dark:text-gray-0",
)} )}
> >
Next Generation Hosting Panel <span class="text-transparent bg-clip-text bg-gradient-to-r text-gradient-to-r from-[#0FBDBD] to-[#26D97F]">Next Generation</span> Hosting Panel
</h1> </h1>
<p <p
className={clsx( className={clsx(