Another instance where we need to pass str latitude and longitude to EditPlace

svn: r13903
This commit is contained in:
Gary Burton 2009-12-23 23:02:26 +00:00
parent 3106784c22
commit 864a4692a9

View File

@ -1938,8 +1938,8 @@ class GeoView(HtmlView):
selector = SelectPlace(self.dbstate, self.uistate, [])
place = selector.run()
if place:
place.set_latitude(self.reallatitude)
place.set_longitude(self.reallongitude)
place.set_latitude(str(self.reallatitude))
place.set_longitude(str(self.reallongitude))
try:
EditPlace(self.dbstate, self.uistate, [], place)
except Errors.WindowActiveError: