summary refs log tree commit diff stats
path: root/ranger.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger.py')
-rwxr-xr-xranger.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ranger.py b/ranger.py
index 3d0f4525..fbceab23 100755
--- a/ranger.py
+++ b/ranger.py
@@ -47,6 +47,5 @@ sys.dont_write_bytecode = '-c' in argv or '--clean' in argv
 __doc__ = """Ranger - file browser for the unix terminal"""
 
 # Start ranger
-import ranger.__main__
-exit_code = ranger.__main__.main() 
-raise SystemExit(exit_code)
+import ranger
+sys.exit(ranger.main())