Skip to content

Commit c43bb20

Browse files
authored
Merge pull request #8 from hbcarlos/fix_disconnect
Add missing arguments
2 parents e6d9c55 + fde860a commit c43bb20

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)