Code- Use dict .get instead of key

fetcher-data-cleanup
dgtlmoon 2 years ago
parent ca3b351bae
commit 06bcfb28e5

@ -134,7 +134,8 @@ class perform_site_check():
is_html = False
is_json = False
include_filters_rule = watch['include_filters']
include_filters_rule = watch.get('include_filters', [])
#include_filters_rule = watch['include_filters']
subtractive_selectors = watch.get(
"subtractive_selectors", []
) + self.datastore.data["settings"]["application"].get(

Loading…
Cancel
Save