diff options
-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: |