Skip to content

Commit eaa2d1d

Browse files
Update audio URL for error notifications
1 parent 52adf09 commit eaa2d1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
else:
125125
color = "#FF0000"
126126
text = f"Server Error ({res.status_code})"
127-
audio_url = "https://raw.githubusercontent.com/haroontrailblazer/haroontrailblazer/main/Project%20Pngs/error.mp3"
127+
audio_url = "https://github.com/haroontrailblazer/MomentoMonto/blob/main/error.mp3"
128128
audio_html = f"""<audio src="{audio_url}" autoplay hidden></audio>"""
129129
audio_stat.markdown(audio_html, unsafe_allow_html=True)
130130
response_time = 0
@@ -136,7 +136,7 @@
136136
except Exception:
137137
color = "#FF0000"
138138
text = "Server Down"
139-
audio_url = "https://raw.githubusercontent.com/haroontrailblazer/haroontrailblazer/main/Project%20Pngs/error.mp3"
139+
audio_url = "https://github.com/haroontrailblazer/MomentoMonto/blob/main/error.mp3"
140140
audio_html = f"""<audio src="{audio_url}" autoplay hidden></audio>"""
141141
audio_stat.markdown(audio_html, unsafe_allow_html=True)
142142
response_time = 0
@@ -242,4 +242,4 @@
242242
except:
243243
stat_placeholder.write("Code Error")
244244

245-
time.sleep(0.5)
245+
time.sleep(0.5)

0 commit comments

Comments
 (0)