diff options
author | hut <hut@lavabit.com> | 2010-01-18 12:35:19 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-18 12:35:19 +0100 |
commit | 7b04e5073c30c8547baea9f7995bc3ac9913b952 (patch) | |
tree | 8a1e8049c3bc8b402d47837b11975e2f575989a9 /ranger | |
parent | 80bdc005583adc47a12c28a3f850201958665f10 (diff) | |
download | ranger-7b04e5073c30c8547baea9f7995bc3ac9913b952.tar.gz |
fsobject: recognize capital letter file extensions
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/fsobject/fsobject.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/fsobject/fsobject.py b/ranger/fsobject/fsobject.py index ea779c69..2c375a77 100644 --- a/ranger/fsobject/fsobject.py +++ b/ranger/fsobject/fsobject.py @@ -66,7 +66,7 @@ class FileSystemObject(MimeTypeAware, FileManagerAware): self.realpath = realpath(path) try: - self.extension = self.basename[self.basename.rindex('.') + 1:] + self.extension = self.basename[self.basename.rindex('.') + 1:].lower() except ValueError: self.extension = None |