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:
parent
44e2898c3f
commit
2fcd574f12
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user