diff --git a/pynetbox/core/endpoint.py b/pynetbox/core/endpoint.py index 28769495..9bbffc24 100644 --- a/pynetbox/core/endpoint.py +++ b/pynetbox/core/endpoint.py @@ -459,7 +459,8 @@ def update(self, objects): if not isinstance(objects, list): raise ValueError( "Objects passed must be list[dict|Record] - was {}".format( - type(objects)) + type(objects) + ) ) for o in objects: if isinstance(o, Record): @@ -473,8 +474,7 @@ def update(self, objects): series.append(o) else: raise ValueError( - "Object passed must be dict|Record - was {}".format( - type(objects)) + "Object passed must be dict|Record - was {}".format(type(objects)) ) req = Request( base=self.url,