From effe68f08f19ff26c37ede5a7a92d5d4452434fe Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 16 May 2018 22:00:37 +0200 Subject: The CLI shouldn't display unsupported file extensions --- src/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/__init__.py') diff --git a/src/__init__.py b/src/__init__.py index 7557381..3f5c478 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1 +1,5 @@ -#!/bin/env python3 \ No newline at end of file +#!/bin/env python3 + +# A set of extension that aren't supported, despite matching a supported mimetype +unsupported_extensions = set(['bat', 'c', 'h', 'ksh', 'pl', 'txt', 'asc', + 'text', 'pot', 'brf', 'srt', 'rdf', 'wsdl', 'xpdl', 'xsl', 'xsd']) -- cgit v1.3