Geography : gramps --version reports unknown version.

svn: r20309
This commit is contained in:
Serge Noiraud 2012-09-02 08:01:55 +00:00
parent c86f383122
commit 14c05dcba3

View File

@ -241,9 +241,9 @@ def show_settings():
cairover_str = 'not found'
try:
import osmgpsmap
from gi.repository import OsmGpsMap as osmgpsmap
try:
osmgpsmap_str = osmgpsmap.__version__
osmgpsmap_str = osmgpsmap._version
except :# any failure to 'get' the version
osmgpsmap_str = 'unknown version'