From b7b7288f789ab3e795fc4d810a5b90b030504805 Mon Sep 17 00:00:00 2001 From: Mikhail Grebenkin Date: Mon, 19 Nov 2018 20:52:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=B5=D0=BB=D0=BA=D0=B8=D0=B5=20=D0=B8?= =?UTF-8?q?=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F,=20=D1=82?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D0=B8=D1=80=D1=83=D1=8E.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UserAd_class.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UserAd_class.py b/UserAd_class.py index 385c280..b23e93f 100644 --- a/UserAd_class.py +++ b/UserAd_class.py @@ -125,6 +125,7 @@ class UserAd: self.sam.transaction_cancel() return exc else: + self.sam.transaction_commit() return False def enable(self): @@ -135,6 +136,7 @@ class UserAd: self.sam.transaction_cancel() return exc else: + self.sam.transaction_commit() return False