diff options
-rw-r--r-- | ranger/defaults/apps.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py index 7926bbba..ffa828c0 100644 --- a/ranger/defaults/apps.py +++ b/ranger/defaults/apps.py @@ -65,8 +65,9 @@ class CustomApplications(Applications): if f.extension is not None: if f.extension in ('pdf', ): - c.flags += 'd' return self.either(c, 'evince', 'zathura', 'apvlv') + if f.extension == 'djvu': + return self.either(c, 'evince') if f.extension in ('xml', ): return self.either(c, 'editor') if f.extension in ('html', 'htm', 'xhtml'): |