Fix up a few errors that sneaked in while updating vmenu code and a couple other things. Logs should be much nicer now.

This commit is contained in:
Storm Dragon
2025-06-25 10:55:48 -04:00
parent b1edc53362
commit 40b88efa34
5 changed files with 143 additions and 2 deletions

View File

@@ -269,6 +269,9 @@ class vmenuManager():
fileName = fileName.split('/')[-1]
if fileName.startswith('__'):
continue
# Skip base classes that shouldn't be loaded as commands
if fileName.endswith('_base'):
continue
command = self.env['runtime']['commandManager'].loadFile(root + '/' + f)
tree.update({fileName + ' ' + _('Action'): command})
except Exception as e: