Skip to content

Commit

Permalink
fix: multiline string needs triple quote
Browse files Browse the repository at this point in the history
  • Loading branch information
koebi committed Aug 26, 2024
1 parent f9f0d97 commit 05f048f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ORStools/proc/directions_points_layer_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,10 @@ def sort(f):
# check for duplicate points
if len(points) != len(set(points)):
raise exceptions.DuplicateError(
"There are duplicate points in the input layer. Traveling Salesman Optimization does not allow this.
Either remove the duplicates or deselect Traveling Salesman."
"""
There are duplicate points in the input layer. Traveling Salesman Optimization does not allow this.
Either remove the duplicates or deselect Traveling Salesman.
"""
)

params = get_params_optimize(points, profile, optimization_mode)
Expand Down

0 comments on commit 05f048f

Please sign in to comment.