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