From feaf3d04e54168c51e4836f80e68335f1ba013b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 16 Sep 2015 17:14:06 -0700 Subject: [PATCH] scanner: also ignore ttf and otf files --- fdroidserver/scanner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fdroidserver/scanner.py b/fdroidserver/scanner.py index 3a87c003..c5e18ddc 100644 --- a/fdroidserver/scanner.py +++ b/fdroidserver/scanner.py @@ -162,7 +162,9 @@ def scan_source(build_dir, root_dir, thisbuild): # These files are often found - avoid checking if they are binary # to speed up the scanner - elif ext in ['xml', 'md', 'txt', 'html', 'sh', 'png']: + elif ext in [ + 'xml', 'md', 'txt', 'html', 'sh', 'png', 'jpg', + 'ttf', 'otf']: pass elif is_binary(fp):