Fix: string format error. (#5422)
### What problem does this PR solve? #5404 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
170abf9b7f
commit
5beb022ee1
2 changed files with 1 additions and 2 deletions
|
|
@ -111,7 +111,6 @@ class ExeSQL(Generate, ABC):
|
|||
if not single_sql:
|
||||
break
|
||||
try:
|
||||
logging.info("single_sql: ", single_sql)
|
||||
cursor.execute(single_sql)
|
||||
if cursor.rowcount == 0:
|
||||
sql_res.append({"content": "No record in the database!"})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue