summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/config/rc.conf1
-rw-r--r--ranger/ext/hash.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index e62f4ecd..ac6402e9 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -599,7 +599,6 @@ map .l filter_stack add type l
 map .m console filter_stack add mime%space
 map .n console filter_stack add name%space
 map .# console filter_stack add hash%space
-# alternatively .: and .;?
 map ." filter_stack add duplicate
 map .' filter_stack add unique
 map .| filter_stack add or
diff --git a/ranger/ext/hash.py b/ranger/ext/hash.py
index 1ed21a71..d9b2234b 100644
--- a/ranger/ext/hash.py
+++ b/ranger/ext/hash.py
@@ -17,7 +17,7 @@ def hash_chunks(filepath, h=None):
         h.update(filepath)
         yield h.hexdigest()
         for fp in listdir(filepath):
-            for fp_chunk in  hash_chunks(fp, h=h):
+            for fp_chunk in hash_chunks(fp, h=h):
                 yield fp_chunk
     elif getsize(filepath) == 0:
         yield h.hexdigest()