diff options
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 42770156..cbe74132 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -600,7 +600,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): if order == 'size': fnc = lambda item: -item.size elif order == 'mimetype': - fnc = lambda item: item.mimetype + fnc = lambda item: item.mimetype or '' elif order == 'ctime': fnc = lambda item: -int(item.stat and item.stat.st_ctime) elif order == 'atime': |