diff options
author | Toni Kukurin <tkukurin@gmail.com> | 2020-02-23 09:52:36 +0100 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2020-03-02 13:40:43 +0100 |
commit | a478511e8fd215ad878627d2516cb9253a2ab12f (patch) | |
tree | 29769d5bd6e43930c58fb1cc97ac1297a59ca731 | |
parent | 90705ac0c685ac54606a56511d73d0b96b9a1d9c (diff) | |
download | ranger-a478511e8fd215ad878627d2516cb9253a2ab12f.tar.gz |
Update ui.py
Fix 'FileNotFound' if `screen` is not available
-rw-r--r-- | ranger/gui/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index d2dbb759..5ffdf4a4 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -497,7 +497,7 @@ class UI( # pylint: disable=too-many-instance-attributes,too-many-public-method # gives out a warning if $TERM is not "screen" try: self._screen_title = check_output( - ['screen', '-Q', 'title']).strip() + ['screen', '-Q', 'title'], shell=True).strip() except CalledProcessError: self._screen_title = None |