mirror of
https://github.com/craigerl/aprsd.git
synced 2026-06-01 21:54:42 -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:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user