We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b304f48 commit 8992886Copy full SHA for 8992886
src/arguments/search.py
@@ -14,10 +14,13 @@ def __init__(self, message):
14
self.message = message
15
16
def prompt(self):
17
- print(colored(f"{self.message} [?] ", 'cyan'), end='')
+ print(colored(f"{self.message} : ", 'cyan'), end='')
18
data = input()
19
-
20
- return str(data)
+ if data == "":
+ SearchError("Input data empty", "Please try again ")
21
+ sys.exit()
22
+ else:
23
+ return str(data)
24
25
26
class Search():
0 commit comments