diff options
author | toonn <toonn@toonn.io> | 2021-07-14 20:35:08 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-07-14 20:35:08 +0200 |
commit | 3a9d64f6ba0d45915f0f2e0f6b1bb8bf88e7d2f3 (patch) | |
tree | 751a84d01d8c2fdfcea122babb665c88db0ea3ef /ranger | |
parent | 8181077f3b0afc7b6258a85d3a03b7bce23d316c (diff) | |
parent | 0d704c741f8cb3cd96a5ad5c11d397202f82b4f2 (diff) | |
download | ranger-3a9d64f6ba0d45915f0f2e0f6b1bb8bf88e7d2f3.tar.gz |
Merge remote-tracking branch 'chu4ng/datadir-crash-py2'
Fixes #2388
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/container/tags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/container/tags.py b/ranger/container/tags.py index dadb60f0..e61ed595 100644 --- a/ranger/container/tags.py +++ b/ranger/container/tags.py @@ -79,7 +79,7 @@ class Tags(FileManagerAware): fobj = open(self._filename, 'r', errors='replace') else: fobj = open(self._filename, 'r') - except OSError as err: + except (OSError, IOError) as err: if exists(self._filename): self.fm.notify(err, bad=True) else: |