Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
DorosMichal committed May 2, 2023
1 parent 8e03d04 commit 96bde54
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions e2e_tests/komfy_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,9 @@ def execute(
QUERY_DONE_FLAG = False
self.write(query)
responses = []
while not QUERY_DONE_FLAG:
while (response := self.readline()):
if response:
responses.append(response)
while not QUERY_DONE_FLAG or (response := self.readline()):
if response:
responses.append(response)

if ignore_response:
return
Expand Down

0 comments on commit 96bde54

Please sign in to comment.