fix the commit in master without bug report:

commit: 410cffe832
This commit is contained in:
SNoiraud 2021-07-10 18:00:36 +02:00 committed by Nick Hall
parent 6dcb1d00d5
commit b24ebd5d77
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ class EditPlace(EditPrimary):
def set_latlongitude(self, value):
try:
# Bug 12349
parts = value.index(', ')
parts = value.split(', ')
if len(parts) == 2:
longitude = parts[0].strip().replace(',', '.')
latitude = parts[1].strip().replace(',', '.')

View File

@ -181,7 +181,7 @@ class EditPlaceRef(EditReference):
def set_latlongitude(self, value):
try:
# Bug 12349
parts = value.index(', ')
parts = value.split(', ')
if len(parts) == 2:
longitude = parts[0].strip().replace(',', '.')
latitude = parts[1].strip().replace(',', '.')