Skip to content

Commit b0b53a1

Browse files
committed
Add emojis to utility.py
1 parent 670213f commit b0b53a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/arguments/utility.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def make_request(self, que, tag: str):
3333
try:
3434
resp = requests.get(self.__get_search_url(que, tag))
3535
except:
36-
SearchError("Search Failed", "Try connecting to the internet")
36+
SearchError("\U0001F613 Search Failed", "\U0001F4BB Try connecting to the internet")
3737
sys.exit()
3838
return resp.json()
3939

@@ -52,7 +52,7 @@ def get_ans(self, questions_list):
5252
f"{self.search_content_url}/2.2/questions/{questions_list[questions]}/answers?order=desc&sort=votes&site=stackoverflow&filter=!--1nZwsgqvRX"
5353
)
5454
except:
55-
SearchError("Search Failed", "Try connecting to the internet")
55+
SearchError("\U0001F613 Search Failed", "\U0001F4BB Try connecting to the internet")
5656
sys.exit()
5757
json_ans_data = resp.json()
5858

@@ -61,7 +61,7 @@ def get_ans(self, questions_list):
6161
colored(
6262
"--------------------------------------------------------",
6363
'red'), data["body_markdown"],
64-
f"Link to the answer:{data['link']}"
64+
f"\U0001F517 Link to the answer:{data['link']}"
6565
]
6666

6767
for output_index, output_text in enumerate(output_content):

0 commit comments

Comments
 (0)