mirror of
https://github.com/devproje/balance-application.git
synced 2024-10-20 15:11:21 +00:00
fix: balance service delete() method error fixed
This commit is contained in:
parent
6ae4b78a98
commit
38113cc6a8
2 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ class BalanceService:
|
|||
ok = True
|
||||
cur = self._conn.cursor()
|
||||
try:
|
||||
cur.execute("delete from balset where id = %s;", (id))
|
||||
cur.execute("delete from balset where id = %s;", (str(id)))
|
||||
self._conn.commit()
|
||||
except:
|
||||
self._conn.rollback()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
load_dotenv(verbose=True, override=True)
|
||||
|
||||
def _load_secret():
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue