From bb96c6e30f393bb135e2f6b7ddb314027f0aee54 Mon Sep 17 00:00:00 2001 From: ame Date: Mon, 3 Mar 2025 03:07:15 -0600 Subject: qol update --- src/rm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rm.py') diff --git a/src/rm.py b/src/rm.py index 9f6956e..e62db7a 100644 --- a/src/rm.py +++ b/src/rm.py @@ -1,7 +1,7 @@ from common import * def rm_pkg(pkg) -> None: - cmd = f"{root} rm -fr {os.path.join(FULL_REPOS_LOCATION, pkg)}" + cmd = f"{ROOT} rm -fr {os.path.join(FULL_REPOS_LOCATION, pkg)}" print(cmd) os.system(cmd) @@ -21,7 +21,7 @@ def rm(pkg, repos) -> None: elif len(found) == 1: use = found[0] else: - names = [f"{x["path"]}:{x["repo"]}" for x in found] + names = [f"{x['path']}:{x['repo']}" for x in found] selected = questionary.select(f"{pkg} is ambiguous, select a more specific package", names).ask().split(":") use = [x for x in found if x["path"] == selected[0] and x["repo"] == selected[1]][0] print(use) -- cgit v1.2.3