diff options
author | hut <hut@lavabit.com> | 2009-11-29 18:58:13 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-11-29 18:58:13 +0100 |
commit | f027adc08ce0d15717c7694956f23ff637553543 (patch) | |
tree | 59ccf6cf540da9b34d32f19ebb7d5abdae1ce5a7 /ranger.py | |
parent | 9dc6fe07975ef2d489e5071f4e6d7223a33cb3b3 (diff) | |
download | ranger-f027adc08ce0d15717c7694956f23ff637553543.tar.gz |
implemented colorschemes.
Diffstat (limited to 'ranger.py')
-rwxr-xr-x | ranger.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ranger.py b/ranger.py index b44fad46..d4c4a961 100755 --- a/ranger.py +++ b/ranger.py @@ -15,6 +15,7 @@ else fi return 1 """ + from ranger.fm import FM from ranger.environment import Environment from ranger.command import CommandList @@ -53,16 +54,15 @@ try: my_fm.feed(path, my_ui) my_fm.run() -#except BaseException as original_error: -# try: my_ui.exit() -# except: pass -# -# raise original_error - finally: - try: my_ui.exit() - except: pass + try: + my_ui.exit() + except: + pass + if cd_after_exit: - try: sys.__stderr__.write(env.pwd.path) - except: pass + try: + sys.__stderr__.write(env.pwd.path) + except: + pass |