mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 15:13:31 +00:00
Catch other variant of missing icu dependency
This commit is contained in:
1 parent
1efb826b54
commit
cbcac0097e
1 file changed
+1
-1
@@ -42,7 +42,7 @@ try:
|
||||
import icu
|
||||
|
||||
USE_ICU = True
|
||||
except ModuleNotFoundError:
|
||||
except (ModuleNotFoundError, ImportError):
|
||||
USE_ICU = False
|
||||
|
||||
from synapse.api.errors import StoreError
|
||||
|
||||
Reference in new issue
Block a user