We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb5400 commit 78c79f1Copy full SHA for 78c79f1
1 file changed
src/firebird/driver/core.py
@@ -5723,9 +5723,7 @@ def readline_timed(self, timeout: int) -> str | Sentinel | None:
5723
data = self.response.read_sized_string(encoding=self.encoding, errors=self.encoding_errors)
5724
if self.response.get_tag() == SrvInfoCode.TIMEOUT:
5725
return TIMEOUT
5726
- if data:
5727
- return data + '\n'
5728
- return None
+ return data if data else None
5729
def readline(self) -> str | None:
5730
"""Get next line of textual output from last service query.
5731
0 commit comments