about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-07-14 20:35:08 +0200
committertoonn <toonn@toonn.io>2021-07-14 20:35:08 +0200
commit3a9d64f6ba0d45915f0f2e0f6b1bb8bf88e7d2f3 (patch)
tree751a84d01d8c2fdfcea122babb665c88db0ea3ef /ranger
parent8181077f3b0afc7b6258a85d3a03b7bce23d316c (diff)
parent0d704c741f8cb3cd96a5ad5c11d397202f82b4f2 (diff)
downloadranger-3a9d64f6ba0d45915f0f2e0f6b1bb8bf88e7d2f3.tar.gz
Merge remote-tracking branch 'chu4ng/datadir-crash-py2'
Fixes #2388
Diffstat (limited to 'ranger')
-rw-r--r--ranger/container/tags.py2
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: