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)