Allow Titillium together with Arvo (#78)

This commit is contained in:
Marian Steinbach 2018-11-05 23:18:11 +01:00 committed by GitHub
parent 325caee2bb
commit 924981659b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ class Rater(AbstractRater):
continue continue
fonts = " ".join(self.check_results['load_in_browser'][url]['font_families']) fonts = " ".join(self.check_results['load_in_browser'][url]['font_families'])
if 'arvo' in fonts: if 'arvo' in fonts or 'titillium' in fonts:
urls_with_font += 1 urls_with_font += 1
if urls_with_font > 0 and urls_without_font == 0: if urls_with_font > 0 and urls_without_font == 0: