summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger.py b/ranger.py
index 758fb5fb..cf60433b 100755
--- a/ranger.py
+++ b/ranger.py
@@ -45,7 +45,7 @@ __doc__ = """Ranger - file browser for the unix terminal"""
 try:
 	from ranger import main
 
-except ImportError as errormessage:
+except ImportError:
 	import sys
 	if '-d' not in sys.argv and '--debug' not in sys.argv:
 		print("Can't import the main module.")