mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +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
|
return
|
||||||
|
|
||||||
try:
|
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):
|
except (KeyError, AttributeError):
|
||||||
no_internet_text = "Make sure you are connected\n to the Internet and try again."
|
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:
|
if bui.textwidget(query=self._plugin_manager_status_text) != no_internet_text:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue