Remove unreachable code

This commit is contained in:
Alexey Zakharenkov 2023-01-11 15:45:44 +03:00 committed by Alexey Zakharenkov
parent 6706137670
commit 92563e6d80

View file

@ -141,9 +141,6 @@ def get_relation_center(
if "center" in element:
return element["center"]["lat"], element["center"]["lon"]
if "center" in element:
return element["center"]
center = [0, 0]
count = 0
for m in element.get("members", list()):