diff options
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | ranger/fsobject/fsobject.py | 2 |
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 |