mirror of https://gitlab.com/openlp/openlp.git
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'-'
|
||||
try:
|
||||
import icu
|
||||
ICU_VERSION = u'OK'
|
||||
try:
|
||||
ICU_VERSION = icu.VERSION
|
||||
except AttributeError:
|
||||
ICU_VERSION = u'OK'
|
||||
except ImportError:
|
||||
ICU_VERSION = u'-'
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue