Skip to content
Snippets Groups Projects
Commit b429931a authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

fixed some changes

parent 8a02a625
No related branches found
No related tags found
No related merge requests found
__version__ = '2.20.4a2' __version__ = '2.20.4a3'
...@@ -38,7 +38,9 @@ class transaction: ...@@ -38,7 +38,9 @@ class transaction:
@property @property
def connection(self): def connection(self):
if inspect.isfunction(self._connection): if inspect.isfunction(self._connection):
return self._connection() conn = self._connection()
self._connection = conn
return conn
else: else:
return self._connection return self._connection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment