mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
scanner: also ignore ttf and otf files
This commit is contained in:
parent
da2a4f2cf5
commit
feaf3d04e5
1 changed files with 3 additions and 1 deletions
|
@ -162,7 +162,9 @@ def scan_source(build_dir, root_dir, thisbuild):
|
||||||
|
|
||||||
# These files are often found - avoid checking if they are binary
|
# These files are often found - avoid checking if they are binary
|
||||||
# to speed up the scanner
|
# 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
|
pass
|
||||||
|
|
||||||
elif is_binary(fp):
|
elif is_binary(fp):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue