diff options
author | squigz <squigglezworth@gmail.com> | 2018-01-04 20:43:48 -0500 |
---|---|---|
committer | squigz <squigglezworth@gmail.com> | 2018-01-04 20:43:48 -0500 |
commit | 4a1f382485894cfa9928ae734c93ba21dab888d1 (patch) | |
tree | 90b66b16c50577c9ffdad66807ba4de6ebc55041 | |
parent | 50410a43f7f8d076bc6963dce0b21f8ce72955e0 (diff) | |
download | ranger-4a1f382485894cfa9928ae734c93ba21dab888d1.tar.gz |
remove unnecessary checks
-rw-r--r-- | ranger/gui/widgets/view_miller.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/gui/widgets/view_miller.py b/ranger/gui/widgets/view_miller.py index 795988cb..aa05260d 100644 --- a/ranger/gui/widgets/view_miller.py +++ b/ranger/gui/widgets/view_miller.py @@ -157,9 +157,9 @@ class ViewMiller(ViewBase): # pylint: disable=too-many-ancestors,too-many-insta try: # pylint: disable=no-member win.vline(1, x, curses.ACS_VLINE, y - 1) - char = curses.ACS_TTEE if both or borders else curses.ACS_VLINE + char = curses.ACS_TTEE if both else curses.ACS_VLINE self.addch(0, x, char, 0) - char = curses.ACS_BTEE if both or borders else curses.ACS_VLINE + char = curses.ACS_BTEE if both else curses.ACS_VLINE self.addch(y, x, char, 0) # pylint: enable=no-member except curses.error: |