Merge remote-tracking branch 'origin/main'

This commit is contained in:
TrainDoctor
2022-07-02 23:14:51 -07:00
3 changed files with 13 additions and 9 deletions
+2 -2
View File
@@ -45,9 +45,9 @@ class PluginBrowser:
for folder in listdir(self.plugin_path):
with open(path.join(self.plugin_path, folder, 'plugin.json'), 'r') as f:
plugin = json.load(f)
if plugin['name'] == name:
return path.join(self.plugin_path, folder)
return path.join(self.plugin_path, folder)
async def uninstall_plugin(self, name):
tab = await get_tab("SP")