Another instance where we need to pass str latitude and longitude to EditPlace
svn: r13903
This commit is contained in:
parent
3106784c22
commit
864a4692a9
@ -1938,8 +1938,8 @@ class GeoView(HtmlView):
|
|||||||
selector = SelectPlace(self.dbstate, self.uistate, [])
|
selector = SelectPlace(self.dbstate, self.uistate, [])
|
||||||
place = selector.run()
|
place = selector.run()
|
||||||
if place:
|
if place:
|
||||||
place.set_latitude(self.reallatitude)
|
place.set_latitude(str(self.reallatitude))
|
||||||
place.set_longitude(self.reallongitude)
|
place.set_longitude(str(self.reallongitude))
|
||||||
try:
|
try:
|
||||||
EditPlace(self.dbstate, self.uistate, [], place)
|
EditPlace(self.dbstate, self.uistate, [], place)
|
||||||
except Errors.WindowActiveError:
|
except Errors.WindowActiveError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user