mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-03 15:56:17 +00:00
Update DashboardPlugins.py
This commit is contained in:
@@ -24,7 +24,7 @@ class DashboardPlugins:
|
|||||||
readyPlugins = []
|
readyPlugins = []
|
||||||
|
|
||||||
if not self.directory.exists():
|
if not self.directory.exists():
|
||||||
self.logger.error("Failed to load ./plugins directory")
|
os.mkdir(self.directory)
|
||||||
return []
|
return []
|
||||||
|
|
||||||
for plugin in self.directory.iterdir():
|
for plugin in self.directory.iterdir():
|
||||||
|
Reference in New Issue
Block a user