From 715e125cc8d0b3fc4a79752e28a8b76a4ce97d5a Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 10 Jan 2011 12:41:12 +0000 Subject: PNG is a binary file --- RepSys/binrepo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'RepSys') diff --git a/RepSys/binrepo.py b/RepSys/binrepo.py index a978b51..4035128 100644 --- a/RepSys/binrepo.py +++ b/RepSys/binrepo.py @@ -106,7 +106,7 @@ def translate_topdir(path): def is_binary(path): raw = config.get("binrepo", "upload-match", "\.(7z|Z|bin|bz2|cpio|db|deb|egg|gem|gz|jar|jisp|lzma|"\ - "pdf|pgn\\.gz|pk3|rpm|rpm|run|sdz|smzip|tar|tbz|"\ + "pdf|pgn\\.gz|pk3|png|rpm|run|sdz|smzip|tar|tbz|"\ "tbz2|tgz|ttf|uqm|wad|war|xar|xpi|xz|zip|wav|mp3|ogg|"\ "jpg|png|gif|avi|mpg|mpeg|rar)$") maxsize = config.getint("binrepo", "upload-match-size", "1048576") # 1MiB -- cgit v1.2.1