9824: revert romjerome mistakes (part2)

This commit is contained in:
système 2017-01-14 13:29:23 +01:00
parent 0c4529c0ae
commit 9ccfd50d93

View File

@ -127,10 +127,8 @@ class PlaceBaseModel:
return value return value
def column_name(self, data): def column_name(self, data):
if config.get("preferences.place-name-column"): # need for spacing on the french translation
return '|'.join([data[6][0]] + [name[0] for name in data[7]]) return _(',').join([data[6][0]] + [name[0] for name in data[7]])
else:
return data[6][0]
def column_longitude(self, data): def column_longitude(self, data):
if not data[3]: if not data[3]: