MCPcopy
hub / github.com/Sathvik-Rao/ClipCascade / open_webbrowser

Method open_webbrowser

ClipCascade_Desktop/src/cli/tray.py:199–206  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

197
198 @staticmethod
199 def open_webbrowser(url):
200 try:
201 webbrowser.open(url)
202 except Exception as e:
203 CustomDialog(
204 f"Failed to open the browser. Here is the URL: {url}\nError: {e}",
205 msg_type="error",
206 ).mainloop()
207
208 def _on_update(self):
209 TaskbarPanel.open_webbrowser(self.new_version_available[3])

Callers 5

_on_updateMethod · 0.45
_open_homepageMethod · 0.45
_open_githubMethod · 0.45
_open_helpMethod · 0.45
_open_donateMethod · 0.45

Calls 2

CustomDialogClass · 0.90
mainloopMethod · 0.45

Tested by

no test coverage detected