[ci] auto-format

This commit is contained in:
brostosjoined 2024-04-30 09:23:50 +00:00 committed by github-actions[bot]
parent 4a687c9f6b
commit 4d73fb33f9
2 changed files with 24 additions and 21 deletions

View file

@ -2083,8 +2083,10 @@ class PluginManagerWindow(bui.Window):
if self.plugin_manager.categories != {}:
if self.plugin_manager.categories['All'] is not None:
category_plugins = await self.plugin_manager.categories[category if category != 'Installed' else 'All'].get_plugins()
else: return
else: return
else:
return
else:
return
except (KeyError, AttributeError):
no_internet_text = "Make sure you are connected\n to the Internet and try again."
if bui.textwidget(query=self._plugin_manager_status_text) != no_internet_text:

View file

@ -334,7 +334,6 @@ if ANDROID: # !can add ios in future
except Exception:
return
def close(self):
self.stop_heartbeat_thread.set()
self.do_once = True
@ -444,7 +443,7 @@ if not ANDROID:
s.close()
return True
except Exception as e:
raise(e)
raise (e)
s.close()
return False
@ -858,6 +857,8 @@ def get_class():
return RpcThread()
# ba_meta export babase.Plugin
class DiscordRP(babase.Plugin):
def __init__(self) -> None:
self.update_timer: bs.Timer | None = None