summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-11 23:00:36 +0100
committerhut <hut@lavabit.com>2009-12-11 23:00:36 +0100
commit4b66c3a834409458c0bf665b1f6065c1aab3ba8d (patch)
tree1640486edd134834b6b539da2b2c58f0fc9e8520
parentd88232a386dbc2153aa12bea7f30c9c53c414010 (diff)
downloadranger-4b66c3a834409458c0bf665b1f6065c1aab3ba8d.tar.gz
fixed cd-after-exit
-rw-r--r--ranger/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/main.py b/ranger/main.py
index b6af145d..d2a931fd 100644
--- a/ranger/main.py
+++ b/ranger/main.py
@@ -80,5 +80,5 @@ def main():
 			my_ui.destroy()
 
 		if args.cd_after_exit:
-			try: sys.__stderr__.write(env.pwd.path)
+			try: sys.__stderr__.write(my_fm.env.pwd.path)
 			except: pass