Skip to content

Commit

Permalink
Minor PEP8 improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Batcastle committed Nov 20, 2024
1 parent 57abee1 commit 638d248
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions usr/share/edamame/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def install(settings: dict, local_repo: str, ui_type: str) -> None:
"/mnt/tmp/edamame-progress.log")
os.remove("/tmp/edamame-progress.log")
os.symlink("/mnt/tmp/edamame-progress.log",
"/tmp/edamame-progress.log")
"/tmp/edamame-progress.log")
__update__(32)
# STEP 4: Update fstab
common.eprint(" ### Updating FSTAB ### ")
Expand Down Expand Up @@ -253,8 +253,7 @@ def install(settings: dict, local_repo: str, ui_type: str) -> None:
common.eprint(" ### SYSTEMD-BOOT NOT CONFIGURED. CORRECTING . . . ### ")
check_call(["arch-chroot", "/mnt", "systemd-boot-manager", "-r"])
try:
shutil.rmtree("/mnt/home/" + settings["USERNAME"] +
"/.config/xfce4/panel/launcher-3")
shutil.rmtree(f"/mnt/home/{settings["USERNAME"]}/.config/xfce4/panel/launcher-3")
except FileNotFoundError:
pass
__update__(100)
Expand Down

0 comments on commit 638d248

Please sign in to comment.