about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 5358a40f..6cf376eb 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -1170,10 +1170,8 @@ class Actions(  # pylint: disable=too-many-instance-attributes,too-many-public-m
         # Guess encoding ourselves.
         # These should be the most frequently used ones.
         # latin-1 as the last resort
-        encodings = [ ('utf-8', 'strict')
-                    , ('utf-16', 'strict')
-                    , ('latin-1', 'replace')
-                    ]
+        encodings = [('utf-8', 'strict'), ('utf-16', 'strict'),
+                     ('latin-1', 'replace')]
 
         with open(path, 'rb') as fobj:
             data = fobj.read(count)