Update DashboardPlugins.py

This commit is contained in:
Donald Zou
2025-08-16 11:19:22 +08:00
parent ae712c1c98
commit 11a07758aa

View File

@@ -24,7 +24,7 @@ class DashboardPlugins:
readyPlugins = []
if not self.directory.exists():
self.logger.error("Failed to load ./plugins directory")
os.mkdir(self.directory)
return []
for plugin in self.directory.iterdir():