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: