Skip to content

Commit d6aee44

Browse files
committed
Small fix for context manager
1 parent 05ecab5 commit d6aee44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/osw/express.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def __enter__(self):
186186
"""Return self when entering the context manager."""
187187
return self
188188

189-
def __exit__(self):
189+
def __exit__(self, exc_type=None, exc_value=None, traceback=None):
190190
"""Close the connection to the OSL instance when exiting the context manager."""
191191
self.close_connection()
192192

0 commit comments

Comments
 (0)