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