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

Commit b722682

Browse files
author
laodouya
committed
fix post err msg
1 parent 0ecd378 commit b722682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def play():
5555
return app.send_static_file('play.html')
5656

5757
result, errmsg = chdb_query_with_errmsg(query, format)
58-
if errmsg != '':
58+
if errmsg == '':
5959
return result
6060
else:
6161
return errmsg

0 commit comments

Comments
 (0)