Changed indentation from spaces to tabs

This commit is contained in:
Fabian Wunsch 2022-04-10 13:58:13 +02:00 committed by Hans5958
parent 37d4325186
commit 149a1e4209

View file

@ -121,18 +121,18 @@ def remove_extras(entry: dict):
return entry
def remove_duplicate_points(entry: dict):
"""
Removes points from paths that occur twice after each other
"""
path: list = entry['path']
previous: list = path[0]
for i in range(len(path)-1, -1, -1):
current: list = path[i]
if current == previous:
path.pop(i)
previous = current
"""
Removes points from paths that occur twice after each other
"""
path: list = entry['path']
previous: list = path[0]
for i in range(len(path)-1, -1, -1):
current: list = path[i]
if current == previous:
path.pop(i)
previous = current
return entry
return entry
def fix_r_caps(entry: dict):
"""