about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--TODO3
-rw-r--r--ranger/fsobject/fsobject.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/TODO b/TODO
index af36305f..a94db1ee 100644
--- a/TODO
+++ b/TODO
@@ -32,6 +32,7 @@ General
    ( ) #38  10/01/16  searching in pager
    ( ) #39  10/01/17  flushinput now always good
    ( ) #42  10/01/17  memorize directory for `` when using :cd
+   ( ) #43  10/01/18  internally treat the bookmarks ` and ' the same
 
 
 Bugs
@@ -44,7 +45,7 @@ Bugs
    (X) #26  10/01/06  :delete on symlinks of directories fails
    (X) #31  10/01/06  ^C breaks cd-after-exit by stopping sourced shell script
    ( ) #40  10/01/17  freeze with unavailable sshfs
-   ( ) #41  10/01/17  capital file extensions are not recognized
+   (X) #41  10/01/17  capital file extensions are not recognized
 
 
 Ideas
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
 
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235