diff options
author | ame <[email protected]> | 2025-03-03 03:07:15 -0600 |
---|---|---|
committer | ame <[email protected]> | 2025-03-03 03:07:15 -0600 |
commit | bb96c6e30f393bb135e2f6b7ddb314027f0aee54 (patch) | |
tree | 9e26ea7d6eb41633436edc6091d01b6a3bb6b12d /src/rm.py | |
parent | 73cbed952c5d2cdfdaceb5f8c2b19c77738b5186 (diff) |
qol update
Diffstat (limited to 'src/rm.py')
-rw-r--r-- | src/rm.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |