summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/ext/command_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/command_parser.py b/ranger/ext/command_parser.py
index 1082e767..a6971631 100644
--- a/ranger/ext/command_parser.py
+++ b/ranger/ext/command_parser.py
@@ -30,7 +30,7 @@ class LazyParser(object):
 	def chunk(self, n, otherwise=''):
 		"""Chunks are pieces of the command seperated by spaces"""
 		if self._chunks is None:
-			self._chunks = line.split()
+			self._chunks = self.line.split()
 
 		if len(self._chunks) > n:
 			return self._chunks[n]