cope when import of GExiv2 gets a ValueError
This commit is contained in:
parent
1a05aadca7
commit
b308d97bed
@ -267,6 +267,8 @@ def show_settings():
|
||||
|
||||
except ImportError:
|
||||
gexiv2_str = 'not found'
|
||||
except ValueError:
|
||||
gexiv2_str = 'not new enough'
|
||||
|
||||
try:
|
||||
import PyICU
|
||||
|
@ -390,7 +390,7 @@ try:
|
||||
available = True
|
||||
else:
|
||||
available = False
|
||||
except ImportError:
|
||||
except (ImportError, ValueError):
|
||||
available = False
|
||||
|
||||
if available:
|
||||
|
Loading…
Reference in New Issue
Block a user