about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2020-11-18 18:45:17 +0100
committertoonn <toonn@toonn.io>2020-11-18 18:45:17 +0100
commit87fec7f1a73b3042b47d160cefcaa303c63664ea (patch)
treec122ad8b2beac2187755c855a6f4849c97da61aa /ranger
parent3645972216c01bddccf32eefb4900fd3b2782e9a (diff)
downloadranger-87fec7f1a73b3042b47d160cefcaa303c63664ea.tar.gz
Use identity rather than equality comparison for None
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/view_multipane.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/view_multipane.py b/ranger/gui/widgets/view_multipane.py
index 0a4e3a25..cef8d9a8 100644
--- a/ranger/gui/widgets/view_multipane.py
+++ b/ranger/gui/widgets/view_multipane.py
@@ -23,7 +23,7 @@ class ViewMultipane(ViewBase):  # pylint: disable=too-many-ancestors
         # If draw_borders_multipane has not been set, it defaults to `None`
         # and we fallback to using draw_borders. Important to note:
         # `None` is different from the string "none" referring to no borders
-        if self.settings.draw_borders_multipane != None:
+        if self.settings.draw_borders_multipane is not None:
             return self.settings.draw_borders_multipane
         else:
             return self.settings.draw_borders