diff options
Diffstat (limited to 'ranger/container/fsobject.py')
-rw-r--r-- | ranger/container/fsobject.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/container/fsobject.py b/ranger/container/fsobject.py index ebe76cdb..b6c0c9ec 100644 --- a/ranger/container/fsobject.py +++ b/ranger/container/fsobject.py @@ -137,12 +137,12 @@ class FileSystemObject(FileManagerAware, SettingsAware): @lazy_property def basename_natural(self): - return [('0', int(s)) if s in _integers else (s, 0) \ + return [('0', int(s)) if s in _integers else (s, 0) for s in _extract_number_re.split(self.relative_path)] @lazy_property def basename_natural_lower(self): - return [('0', int(s)) if s in _integers else (s, 0) \ + return [('0', int(s)) if s in _integers else (s, 0) for s in _extract_number_re.split(self.relative_path_lower)] @lazy_property |