1
0
mirror of https://gitlab.com/openlp/openlp.git synced 2024-09-28 10:57:36 +00:00

Fixed bug #986827: Exception doesn't exist on Windows.

bzr-revno: 1954
Fixes: https://launchpad.net/bugs/986827
This commit is contained in:
Raoul Snyman 2012-04-25 20:46:23 +02:00
commit 2a7e5fc781

View File

@ -42,6 +42,9 @@ import time
if os.name == u'nt':
from win32com.client import Dispatch
import pywintypes
# Declare an empty exception to match the exception imported from UNO
class ErrorCodeIOException(Exception):
pass
else:
try:
import uno