about summary refs log tree commit diff stats
path: root/ranger/api/commands.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-08-26 13:13:46 +0200
committerhut <hut@lavabit.com>2010-08-26 13:58:15 +0200
commitc525589d6c6a7fd00be099d2e399f08113f4a33f (patch)
tree427a6915b57764ac5987612135befa295d9609c7 /ranger/api/commands.py
parente8b3ae51480ac217c2f064704902ff2f28b9f635 (diff)
downloadranger-c525589d6c6a7fd00be099d2e399f08113f4a33f.tar.gz
widgets/console: Simplified console
Diffstat (limited to 'ranger/api/commands.py')
-rw-r--r--ranger/api/commands.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ranger/api/commands.py b/ranger/api/commands.py
index ca3f730d..f4e2ca76 100644
--- a/ranger/api/commands.py
+++ b/ranger/api/commands.py
@@ -17,7 +17,6 @@ import os
 from collections import deque
 from ranger.api import *
 from ranger.shared import FileManagerAware
-from ranger.gui.widgets import console_mode as cmode
 from ranger.ext.command_parser import LazyParser as parse
 
 
@@ -71,9 +70,8 @@ class Command(FileManagerAware):
 	"""Abstract command class"""
 	name = None
 	allow_abbrev = True
-	def __init__(self, line, mode):
+	def __init__(self, line):
 		self.line = line
-		self.mode = mode
 
 	def execute(self):
 		"""Override this"""