about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorchu4ng <shichuang@horsefucker.org>2021-07-10 04:44:00 +0300
committerchu4ng <shichuang@horsefucker.org>2021-07-10 04:44:00 +0300
commit0d704c741f8cb3cd96a5ad5c11d397202f82b4f2 (patch)
tree751a84d01d8c2fdfcea122babb665c88db0ea3ef
parent8181077f3b0afc7b6258a85d3a03b7bce23d316c (diff)
downloadranger-0d704c741f8cb3cd96a5ad5c11d397202f82b4f2.tar.gz
Add IOError to handler.
-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: