summaryrefslogtreecommitdiff
path: root/src/verbs/search.py
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-12 23:08:00 +0000
committerdavidovski <david@davidovski.xyz>2022-01-12 23:08:00 +0000
commit64ce365acfbe4f617f18e2b1de26930fe3010bcd (patch)
treeabbfbfdba4ae3917249bcd2386ccac6445c0c84a /src/verbs/search.py
parent5a69440f668a5cc21e0508c38802f33843367ec5 (diff)
fixed searching
Diffstat (limited to 'src/verbs/search.py')
-rw-r--r--src/verbs/search.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/verbs/search.py b/src/verbs/search.py
index b67f5a1..498a88e 100644
--- a/src/verbs/search.py
+++ b/src/verbs/search.py
@@ -28,9 +28,11 @@ def search(args, options, config):
for r in results:
print(colors.LIGHT_GREEN + f"\t{r}")
+ print(colors.RESET, end="")
sys.exit(0)
else:
print(colors.RED + f"Package {package} could not be found")
+ print(colors.RESET, end="")
sys.exit(1)
else:
print(colors.LIGHT_RED + "Nothing to do")