Skip to content

Commit

Permalink
[优化]日志
Browse files Browse the repository at this point in the history
  • Loading branch information
longfengpili committed Feb 29, 2024
1 parent 1bea6cb commit 3b9af75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydbapi/db/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3b9af75

Please sign in to comment.