From 3b9af7520ba7c4841a1b24e31386dc620a465b91 Mon Sep 17 00:00:00 2001 From: longfengpili <398745129@qq.com> Date: Thu, 29 Feb 2024 19:04:18 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BC=98=E5=8C=96]=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pydbapi/db/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pydbapi/db/base.py b/pydbapi/db/base.py index f822555..52641dd 100644 --- a/pydbapi/db/base.py +++ b/pydbapi/db/base.py @@ -2,7 +2,7 @@ # @Author: longfengpili # @Date: 2023-06-02 15:27:41 # @Last Modified by: longfengpili -# @Last Modified time: 2024-02-29 18:36:12 +# @Last Modified time: 2024-02-29 18:57:03 # @github: https://github.com/longfengpili @@ -78,7 +78,7 @@ def fetch_query_results(self, cur, count, verbose): if (verbose == 1 or verbose >= 3) and results: dblogger.info(f"\n{pd.DataFrame(results, columns=columns)}") elif verbose and not columns: - dblogger.warning(f"Not results, results: {results}") + dblogger.warning("No results") if results: results.insert(0, columns)