Skip to content

Commit fde860a

Browse files
committed
Add missing arguments
1 parent e6d9c55 commit fde860a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/niryo_one_python_generators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2508,7 +2508,7 @@ class niryo_connect():
25082508
self.n = NiryoRobot(ip)
25092509
def __enter__(self):
25102510
return self.n
2511-
def __exit__(self):
2511+
def __exit__(self, exception_type, exception_value, traceback):
25122512
self.n.close_connection()
25132513
25142514
`;

0 commit comments

Comments
 (0)