Skip to content
This repository was archived by the owner on Dec 29, 2023. It is now read-only.

Commit 0ecd378

Browse files
author
laodouya
committed
fix err return
1 parent 08f6b56 commit 0ecd378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def clickhouse():
4141
return app.send_static_file('play.html')
4242

4343
result, errmsg = chdb_query_with_errmsg(query, format)
44-
if errmsg != '':
44+
if errmsg == '':
4545
return result
4646
else:
4747
return errmsg

0 commit comments

Comments
 (0)