diff --git a/service/balance_service.py b/service/balance_service.py index 005c553..c45d6f3 100644 --- a/service/balance_service.py +++ b/service/balance_service.py @@ -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() diff --git a/util/config.py b/util/config.py index ecd25ee..e88ba8d 100644 --- a/util/config.py +++ b/util/config.py @@ -1,7 +1,7 @@ import os from dotenv import load_dotenv -load_dotenv() +load_dotenv(verbose=True, override=True) def _load_secret(): try: