summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-08 10:33:20 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-08 10:33:20 +0000
commit01d055a5e93439be37faf68fdfa91df0be568f4e (patch)
tree8f33ca1d586bba17e7ab0a5731ec7e61f190bb61
parent305748ee15fccf0bef19a99922e0155c327e3301 (diff)
let's maintain similar patterns
-rw-r--r--src/backend/search.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/search.py b/src/backend/search.py
index a374da7..312927d 100644
--- a/src/backend/search.py
+++ b/src/backend/search.py
@@ -148,8 +148,8 @@ def start(filter, cat, pn, desc, single):
if sisyphus.checkenv.root():
sisyphus.update.start()
else:
- print("\n" + sisyphus.getcolor.bright_red + "You don't have root permissions, cannot update the database!" +
- sisyphus.getcolor.reset + sisyphus.getcolor.bright_yellow + "\nSearch results may be inaccurate" + sisyphus.getcolor.reset + "\n")
+ print(sisyphus.getcolor.bright_red + "\nYou don't have root permissions, cannot update the database!\n" +
+ sisyphus.getcolor.reset + sisyphus.getcolor.bright_yellow + "\nSearch results may be inaccurate" + sisyphus.getcolor.reset)
showSearch(filter, cat, pn, desc, single)