diff --git a/plugins/utilities/update_notifier.py b/plugins/utilities/update_notifier.py index 7b99032..c5e9e39 100644 --- a/plugins/utilities/update_notifier.py +++ b/plugins/utilities/update_notifier.py @@ -22,49 +22,50 @@ def threaded(func): return wrapper + def play_sound(sound): with bs.get_foreground_host_activity().context: bs.getsound(sound).play() - + + @threaded def fetch_update(): url = 'https://ballistica.net/downloads' - try: + try: response = urllib.request.urlopen(url) web_content = response.read().decode('utf-8') except: return - + match = re.search(r'