mirror of
https://github.com/netzbegruenung/green-spider.git
synced 2024-04-28 15:24:51 +02:00
Fix rater no_network_errors
This commit is contained in:
parent
4251df6b06
commit
18be6e7adf
|
@ -23,10 +23,9 @@ class Rater(AbstractRater):
|
|||
for url in self.check_results['load_in_browser']:
|
||||
if (self.check_results['load_in_browser'][url]['logs'] == [] or
|
||||
self.check_results['load_in_browser'][url]['logs'] is None):
|
||||
found_pageloads += 1
|
||||
continue
|
||||
|
||||
found_pageloads += 1
|
||||
|
||||
# scan log entries for script errors
|
||||
for entry in self.check_results['load_in_browser'][url]['logs']:
|
||||
if entry['source'] != 'network':
|
||||
|
|
Loading…
Reference in a new issue