mirror of
https://github.com/craigerl/aprsd.git
synced 2025-08-18 12:42:26 -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:
parent
44e2898c3f
commit
2fcd574f12
@ -323,8 +323,8 @@ class AVWXWeatherPlugin(plugin.APRSDRegexCommandPluginBase):
|
|||||||
elif not CONF.avwx_plugin.apiKey:
|
elif not CONF.avwx_plugin.apiKey:
|
||||||
LOG.error('Config avwx_plugin.apiKey not specified. Disabling')
|
LOG.error('Config avwx_plugin.apiKey not specified. Disabling')
|
||||||
return False
|
return False
|
||||||
else:
|
|
||||||
return True
|
self.enabled = True
|
||||||
|
|
||||||
def help(self):
|
def help(self):
|
||||||
_help = [
|
_help = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user