forked from openlp/openlp
Add ICU version string to exception form.
This commit is contained in:
parent
9612a52211
commit
2598674d2a
@ -71,6 +71,9 @@ except ImportError:
|
|||||||
MAKO_VERSION = u'-'
|
MAKO_VERSION = u'-'
|
||||||
try:
|
try:
|
||||||
import icu
|
import icu
|
||||||
|
try:
|
||||||
|
ICU_VERSION = icu.VERSION
|
||||||
|
except AttributeError:
|
||||||
ICU_VERSION = u'OK'
|
ICU_VERSION = u'OK'
|
||||||
except ImportError:
|
except ImportError:
|
||||||
ICU_VERSION = u'-'
|
ICU_VERSION = u'-'
|
||||||
|
Loading…
Reference in New Issue
Block a user