mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Update plugin_manager.py
This commit is contained in:
parent
6b5aae57ac
commit
e7646c9dc4
1 changed files with 5 additions and 1 deletions
|
|
@ -2080,7 +2080,11 @@ class PluginManagerWindow(bui.Window):
|
|||
return
|
||||
|
||||
try:
|
||||
category_plugins = await self.plugin_manager.categories[category if category != 'Installed' else 'All'].get_plugins()
|
||||
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
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue