about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-18 12:35:19 +0100
committerhut <hut@lavabit.com>2010-01-18 12:35:19 +0100
commit7b04e5073c30c8547baea9f7995bc3ac9913b952 (patch)
tree8a1e8049c3bc8b402d47837b11975e2f575989a9 /ranger
parent80bdc005583adc47a12c28a3f850201958665f10 (diff)
downloadranger-7b04e5073c30c8547baea9f7995bc3ac9913b952.tar.gz
fsobject: recognize capital letter file extensions
Diffstat (limited to 'ranger')
-rw-r--r--ranger/fsobject/fsobject.py2
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