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

Commit

Permalink
fix post err msg
Browse files Browse the repository at this point in the history
  • Loading branch information
laodouya committed Jul 16, 2023
1 parent 0ecd378 commit b722682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def play():
return app.send_static_file('play.html')

result, errmsg = chdb_query_with_errmsg(query, format)
if errmsg != '':
if errmsg == '':
return result
else:
return errmsg
Expand Down

0 comments on commit b722682

Please sign in to comment.