diff options
Diffstat (limited to 'ranger/gui/displayable.py')
-rw-r--r-- | ranger/gui/displayable.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py index 53dc7abe..ceefb3f1 100644 --- a/ranger/gui/displayable.py +++ b/ranger/gui/displayable.py @@ -84,6 +84,7 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts): def __nonzero__(self): """Always True""" return True + __bool__ = __nonzero__ def __contains__(self, item): """ |