summary refs log tree commit diff stats
path: root/ranger/fsobject/fsobject.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/fsobject/fsobject.py')
-rw-r--r--ranger/fsobject/fsobject.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/fsobject/fsobject.py b/ranger/fsobject/fsobject.py
index 30ed7839..2f65fbc5 100644
--- a/ranger/fsobject/fsobject.py
+++ b/ranger/fsobject/fsobject.py
@@ -7,6 +7,7 @@ from ranger.shared import MimeTypeAware, FileManagerAware
 class FileSystemObject(MimeTypeAware, FileManagerAware):
 	path = None
 	basename = None
+	basename_lower = None
 	dirname = None
 	extension = None
 	exists = False
@@ -42,6 +43,7 @@ class FileSystemObject(MimeTypeAware, FileManagerAware):
 
 		self.path = path
 		self.basename = basename(path)
+		self.basename_lower = self.basename.lower()
 		self.dirname = dirname(path)
 
 		try: