forked from openlp/openlp
Prevent crash if OpenOffice not installed on Windows
This commit is contained in:
parent
7cf31532b8
commit
9a2b05f830
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user