mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2026-08-15 13:03:08 +00:00
[ci] auto-format
This commit is contained in:
parent
4a687c9f6b
commit
4d73fb33f9
2 changed files with 24 additions and 21 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue