Update plugin_manager.py

This commit is contained in:
Vishal 2024-04-29 20:31:32 +05:30 committed by GitHub
parent e7646c9dc4
commit 26ca9c5c82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2080,7 +2080,7 @@ class PluginManagerWindow(bui.Window):
return return
try: try:
if self.plugin_manager.categories != {}: if self.plugin_manager.categories != {}:
if self.plugin_manager.categories['All'] is not None: if self.plugin_manager.categories['All'] is not None:
category_plugins = await self.plugin_manager.categories[category if category != 'Installed' else 'All'].get_plugins() category_plugins = await self.plugin_manager.categories[category if category != 'Installed' else 'All'].get_plugins()
else: return else: return