summary refs log blame commit diff stats
path: root/doc/examples/rifle_different_file_opener.conf
blob: 4a8250b8604a29ba84adadec7d4f550e27b28f91 (plain) (tree)
lass="p">: from ranger import main except ImportError as errormessage: if str(errormessage).endswith("main"): print("Can't import the main module.") print("To run an uninstalled copy of ranger,") print("launch ranger.py in the top directory.") else: raise else: main()