fix f string in row 469
This commit is contained in:
2
gitea.py
2
gitea.py
@ -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)
|
||||
|
@ -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")],
|
||||
)
|
||||
|
Reference in New Issue
Block a user