Closed kchodorow closed 12 years ago
I've surrounded this with a try-except, but I haven't been able to test it very well. It should exit more gracefully now though? I'm not sure how to test this short of uninstalling all browsers on my computer.
What you've got looks good except I'd like to be able to see why it failed, something like except webbrowser.Error as e
and then print the error message (see http://docs.python.org/tutorial/errors.html#handling-exceptions).
That call may fail so logl should handle that gracefully and let the user know what's happening.