From 3106784c220973e9bd57f4f049959a589a9a31ef Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Wed, 23 Dec 2009 21:32:01 +0000 Subject: [PATCH] GeoView : EditPlace crash with real instead of string. svn: r13902 --- src/plugins/view/geoview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/view/geoview.py b/src/plugins/view/geoview.py index 60fee6667..0109ce1d1 100644 --- a/src/plugins/view/geoview.py +++ b/src/plugins/view/geoview.py @@ -1923,8 +1923,8 @@ class GeoView(HtmlView): on the map """ new_place = gen.lib.Place() - new_place.set_latitude(self.reallatitude) - new_place.set_longitude(self.reallongitude) + new_place.set_latitude(str(self.reallatitude)) + new_place.set_longitude(str(self.reallongitude)) try: EditPlace(self.dbstate, self.uistate, [], new_place) except Errors.WindowActiveError: