diff options
author | toonn <toonn@toonn.io> | 2019-04-21 19:34:25 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2019-04-21 19:34:25 +0200 |
commit | dc48aa85c5879248583feba53c3017db10df42fc (patch) | |
tree | 0d32ed256966ac8d1f4b4aa0b922f7f12c0042fe /ranger | |
parent | d21f60f2a3c4a15e5b0346d28667409fd920417e (diff) | |
download | ranger-dc48aa85c5879248583feba53c3017db10df42fc.tar.gz |
Treat comics as documents
Some comics are pdf files and therefore treated as documents, comic archives like cbz aren't. This brings the two in line.
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/container/fsobject.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/container/fsobject.py b/ranger/container/fsobject.py index c5715294..f57fb451 100644 --- a/ranger/container/fsobject.py +++ b/ranger/container/fsobject.py @@ -31,10 +31,10 @@ CONTAINER_EXTENSIONS = ('7z', 'ace', 'ar', 'arc', 'bz', 'bz2', 'cab', 'cpio', 'cpt', 'deb', 'dgc', 'dmg', 'gz', 'iso', 'jar', 'msi', 'pkg', 'rar', 'shar', 'tar', 'tbz', 'tgz', 'txz', 'xar', 'xpi', 'xz', 'zip') -DOCUMENT_EXTENSIONS = ('cfg', 'css', 'cvs', 'djvu', 'doc', 'docx', 'gnm', - 'gnumeric', 'htm', 'html', 'md', 'odf', 'odg', 'odp', - 'ods', 'odt', 'pdf', 'pod', 'ps', 'rtf', 'sxc', 'txt', - 'xls', 'xlw', 'xml', 'xslx') +DOCUMENT_EXTENSIONS = ('cbr', 'cbz', 'cfg', 'css', 'cvs', 'djvu', 'doc', + 'docx', 'gnm', 'gnumeric', 'htm', 'html', 'md', 'odf', + 'odg', 'odp', 'ods', 'odt', 'pdf', 'pod', 'ps', 'rtf', + 'sxc', 'txt', 'xls', 'xlw', 'xml', 'xslx') DOCUMENT_BASENAMES = ('bugs', 'bugs', 'changelog', 'copying', 'credits', 'hacking', 'help', 'install', 'license', 'readme', 'todo') |