Skip to content

Commit

Permalink
Merge pull request #2964 from mitre/fix/enabling_magma
Browse files Browse the repository at this point in the history
Fix: enabling magma plugin implicitly
  • Loading branch information
elegantmoose committed Apr 26, 2024
2 parents 30fdd63 + c3ce681 commit 330ac57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/service/app_svc.py
Expand Up @@ -111,7 +111,7 @@ async def load(p):
await self.get_service('data_svc').store(plugin)
self._loaded_plugins.append(plugin)

if plugin.name in self.get_config('plugins'):
if plugin.name in self.get_config('plugins') or plugin.name == 'magma':
await plugin.enable(self.get_services())
self.log.info('Enabled plugin: %s' % plugin.name)

Expand Down

0 comments on commit 330ac57

Please sign in to comment.