Guard against people running us in deleted directories. Closes LP#1101208

This commit is contained in:
Chris Jones 2013-01-30 12:27:02 +00:00
parent 9d2fb4b95c
commit 424c6e79cd

View File

@ -20,7 +20,10 @@
import sys
import os
ORIGCWD = os.getcwd()
try:
ORIGCWD = os.getcwd()
except OSError:
ORIGCWD = os.path.expanduser("~")
# Check we have simple basics like Gtk+ and a valid $DISPLAY
try: