diff options
author | toonn <toonn@toonn.io> | 2021-07-15 20:45:57 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-07-15 20:45:57 +0200 |
commit | 1e29bb4ad3b36bef238c156ffa46b7759fc2e190 (patch) | |
tree | 484110d10cd06bf6a0395e4b37af135f9ac1a93f /ranger/core | |
parent | f7e9796cf85e104f30d56e63922484c763ca6c77 (diff) | |
download | ranger-1e29bb4ad3b36bef238c156ffa46b7759fc2e190.tar.gz |
actions.py: Another implicit return
Diffstat (limited to 'ranger/core')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 945abcb6..417647db 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -1206,7 +1206,7 @@ class Actions( # pylint: disable=too-many-instance-attributes,too-many-public-m try: text = codecs.decode(data, encoding, error_scheme) except UnicodeDecodeError: - pass + return None else: LOG.debug("Guessed encoding of '%s' as %s", path, encoding) return text |