(url)
| 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]) |
no test coverage detected