@@ -20,7 +20,8 @@ def prompt(self):
2020 print (colored (f"{ self .message } : " , 'cyan' ), end = '' )
2121 data = input ()
2222 if data == "" :
23- SearchError ("\U0001F613 Input data empty" , "\U0001F504 Please try again " )
23+ SearchError ("\U0001F613 Input data empty" ,
24+ "\U0001F504 Please try again " )
2425 sys .exit ()
2526 else :
2627 return str (data )
@@ -74,21 +75,23 @@ def search_for_results(self, save=False):
7475 questions = self .utility_object .get_que (json_output )
7576 if questions == []:
7677 # evoke an error
77- search_error = SearchError ("\U0001F613 No answer found" , "\U0001F604 Please try reddit" )
78+ SearchError ("\U0001F613 No answer found" ,
79+ "\U0001F604 Please try reddit" )
7880 else :
7981 data = self .utility_object .get_ans (questions )
8082 print ('''
81- \U0001F604 Hopefully you found what you were looking for!
82- \U0001F4C2 You can save an answer to a file with '-file'
83+ \U0001F604 Hopefully you found what you were looking for!
84+ \U0001F4C2 You can save an answer to a file with '-file'
8385
8486 Not found what you were looking for \U00002754
85- \U0001F4C4 Open browser and post your question on StackOverflow with '-n [title (optional)]'
86-
87- \U0001F50E To search more use '-s'
87+ \U0001F4C4 Open browser and post your question
88+ on StackOverflow with '-n [title (optional)]'
89+
90+ \U0001F50E To search more use '-s'
8891 ''' )
8992
9093 if save :
9194 filename = SaveSearchResults (data )
9295 print (
93- colored (f "\U0001F604 Answers successfully saved into { filename } " ,
94- "green" ))
96+ colored ("\U0001F604 Answers successfully saved into" + \
97+ filename , "green" ))
0 commit comments