1
0
mirror of https://github.com/craigerl/aprsd.git synced 2025-06-13 03:42:29 -04:00

Fixed setup for AVWXWeatherPlugin

This ensures that during setup() the plugin sets itself
to enabled if all checks pass.
This commit is contained in:
Hemna 2025-04-23 09:59:08 -04:00
parent 44e2898c3f
commit 2fcd574f12

View File

@ -323,8 +323,8 @@ class AVWXWeatherPlugin(plugin.APRSDRegexCommandPluginBase):
elif not CONF.avwx_plugin.apiKey:
LOG.error('Config avwx_plugin.apiKey not specified. Disabling')
return False
else:
return True
self.enabled = True
def help(self):
_help = [