diff --git a/satella/__init__.py b/satella/__init__.py index a910817da22d06aa0244c6d488b40d30da2bfb7e..397e37cf014ec1d3f92f12e3dffb2ef514e74424 100644 --- a/satella/__init__.py +++ b/satella/__init__.py @@ -1 +1 @@ -__version__ = '2.20.0' +__version__ = '2.20.1' diff --git a/satella/db.py b/satella/db.py index 1d3ad8ef00636dd3c6c13806ce14aec41620f9f5..73bc1c9da3462fe4f5f0704ccb6e326e1c6f2d03 100644 --- a/satella/db.py +++ b/satella/db.py @@ -29,7 +29,7 @@ class transaction: def __enter__(self): self.cursor = self.connection.cursor() - return self.cursor() + return self.cursor def __exit__(self, exc_type, exc_val, exc_tb): if exc_val is None: