fix f string in row 469 #9

Merged
punix merged 1 commits from 4-06-2025 into main 2025-07-09 12:25:27 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ class GiteaUpdate:
"""
try:
to_down: str = f"wget -qP {Path.home()} {" "} {urld}"
to_down: str = f"wget -qP {Path.home()} {' '} {urld}"
result: int = subprocess.call(to_down, shell=True)
if result == 0:
shutil.chown(f"{Path.home()}/{res}.zip", 1000, 1000)

View File

@ -466,7 +466,7 @@ class LogViewer(tk.Tk):
def directory_load(self, modul_name, _):
filepath = filedialog.askopenfilename(
initialdir=f"{Path.home() / ".local/share/lxlogs/"}",
initialdir=f"{Path.home() / '.local/share/lxlogs/'}",
title="Select a Logfile File",
filetypes=[("Logfiles", "*.log")],
)