From c63a4ca3026384499ee54f89255fa4a45e729336 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Sat, 28 May 2022 20:54:59 +0200
Subject: [PATCH] bugfix release

---
 satella/__init__.py | 2 +-
 satella/db.py       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/satella/__init__.py b/satella/__init__.py
index a910817d..397e37cf 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 1d3ad8ef..73bc1c9d 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:
-- 
GitLab