Prevent crash if OpenOffice not installed on Windows

This commit is contained in:
Jonathan Corwin 2010-06-27 23:34:33 +01:00
parent 7cf31532b8
commit 9a2b05f830

View File

@ -41,6 +41,7 @@ from openlp.core.lib import resize_image
if os.name == u'nt':
from win32com.client import Dispatch
import pywintypes
else:
try:
import uno