about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-11-16 14:55:03 +0100
committertoonn <toonn@toonn.io>2019-11-16 14:55:03 +0100
commitdb0547fcffec111435366a0bfeb3f56c517b79b9 (patch)
tree2fae07bb41abe55a38942de2a57309657d82d1c2
parent28f3d0144b8371ca5ccb85e18d5936f39ce4ca17 (diff)
parentb77b4c416821c6d239b5404fc8d6a7fca9d70380 (diff)
downloadranger-db0547fcffec111435366a0bfeb3f56c517b79b9.tar.gz
Merge branch 'vifon-rifle-offbyone-hotfix'
-rwxr-xr-xranger/ext/rifle.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py
index 360e6a48..a73a188b 100755
--- a/ranger/ext/rifle.py
+++ b/ranger/ext/rifle.py
@@ -295,6 +295,9 @@ class Rifle(object):  # pylint: disable=too-many-instance-attributes
             self._app_flags = ''
             self._app_label = None
             if skip_ask and cmd == ASK_COMMAND:
+                # TODO(vifon): Fix properly, see
+                # https://github.com/ranger/ranger/pull/1341#issuecomment-537264495
+                count += 1
                 continue
             for test in tests:
                 if not self._eval_condition(test, files, None):