From 3087cbea85e6531e5bb76b1d3f8c064adfcb326c Mon Sep 17 00:00:00 2001 From: Subramaniam Date: Mon, 20 May 2024 10:00:27 +0100 Subject: [PATCH] Fix error --- Screener.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Screener.py b/Screener.py index 63ab0ab..4195b8c 100644 --- a/Screener.py +++ b/Screener.py @@ -87,7 +87,6 @@ def scanByService(service, regions, filters): info[identifier] = obj['info'] contexts[service[0]][region] = arr - Config.set(classPrefix, None) except botocore.exceptions.ClientError as e: contexts[service[0]][region] = {} @@ -99,6 +98,9 @@ def scanByService(service, regions, filters): tempCount += len(contexts[service[0]][region]) del serv + + Config.set(classPrefix, None) + GLOBALRESOURCES = Config.get(globalKey, []) if len(GLOBALRESOURCES) > 0: