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':
|
if os.name == u'nt':
|
||||||
from win32com.client import Dispatch
|
from win32com.client import Dispatch
|
||||||
|
import pywintypes
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
import uno
|
import uno
|
||||||
|
Loading…
Reference in New Issue
Block a user