fix f string in row 469 #9
2
gitea.py
2
gitea.py
@ -67,7 +67,7 @@ class GiteaUpdate:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
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)
|
result: int = subprocess.call(to_down, shell=True)
|
||||||
if result == 0:
|
if result == 0:
|
||||||
shutil.chown(f"{Path.home()}/{res}.zip", 1000, 1000)
|
shutil.chown(f"{Path.home()}/{res}.zip", 1000, 1000)
|
||||||
|
@ -466,7 +466,7 @@ class LogViewer(tk.Tk):
|
|||||||
def directory_load(self, modul_name, _):
|
def directory_load(self, modul_name, _):
|
||||||
|
|
||||||
filepath = filedialog.askopenfilename(
|
filepath = filedialog.askopenfilename(
|
||||||
initialdir=f"{Path.home() / ".local/share/lxlogs/"}",
|
initialdir=f"{Path.home() / '.local/share/lxlogs/'}",
|
||||||
title="Select a Logfile File",
|
title="Select a Logfile File",
|
||||||
filetypes=[("Logfiles", "*.log")],
|
filetypes=[("Logfiles", "*.log")],
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user