Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
sarika-subram committed May 20, 2024
1 parent 974d193 commit 3087cbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Screener.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {}
Expand All @@ -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:
Expand Down

0 comments on commit 3087cbe

Please sign in to comment.