diff --git a/src/gesacmonit.py b/src/gesacmonit.py index ce6da1f3364157bcf1ee2e2b9ad80eb0768144d2..1346e15602769d524f859766c0fd855423c67a9d 100755 --- a/src/gesacmonit.py +++ b/src/gesacmonit.py @@ -838,8 +838,8 @@ def get_gesac_points(config, logger): logger: an instance of the logger. """ - api_return = True; - db_return = True; + api_return = config['api_enabled']; + db_return = config['db_enabled']; # There are 2 possible sources to get the list of points to monitorate, # direct from the database or by the API.