diff options
author | hut <hut@lavabit.com> | 2011-08-10 12:57:46 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-08-10 12:57:46 +0200 |
commit | c6e105e1c4fb59a5f35dae432340fdfb0304ba52 (patch) | |
tree | a654f70bbaeac6ebec03dd0d70d1da7312bcb4fe /ranger | |
parent | e77a5e28385f8b191c4331962662c025b422a797 (diff) | |
parent | 7defcc263846f8c92970c6537b55bdb8163505e8 (diff) | |
download | ranger-c6e105e1c4fb59a5f35dae432340fdfb0304ba52.tar.gz |
Merge https://github.com/tonttu/ranger
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/pager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py index d851de3f..05485189 100644 --- a/ranger/gui/widgets/pager.py +++ b/ranger/gui/widgets/pager.py @@ -213,7 +213,7 @@ class Pager(Widget): self.lines.append(l) if len(self.lines) > n: break - except UnicodeError: + except (UnicodeError, IOError): pass return self._get_line(n, attempt_to_read=False) return "" |