forked from openlp/openlp
Fixed bug #986827: Exception doesn't exist on Windows.
bzr-revno: 1954 Fixes: https://launchpad.net/bugs/986827
This commit is contained in:
commit
2a7e5fc781
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user