Skip to content

Commit 2deef02

Browse files
tetovgonzalocasas
andauthored
Update src/compas_fab/robots/constraints.py
Co-Authored-By: Gonzalo Casas <[email protected]>
1 parent 1c58615 commit 2deef02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas_fab/robots/constraints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class BoundingVolume(object):
5454

5555
def __init__(self, volume_type, volume):
5656
if volume_type not in self.VOLUME_TYPES:
57-
raise ValueError("Type must be %d, %d or %d" % (self.VOLUME_TYPES))
57+
raise ValueError("Type must be one of {}".format(self.VOLUME_TYPES))
5858
self.type = volume_type
5959
self.volume = volume
6060

0 commit comments

Comments
 (0)