Skip to content

Commit ecaf3a2

Browse files
committed
Generalize newline
1 parent ff1c75b commit ecaf3a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyprland/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ async def read_command(self, reader: asyncio.StreamReader, writer: asyncio.Strea
293293
writer.write(f"{VERSION}\n".encode())
294294
elif data == "dumpjson":
295295
writer.write(json.dumps(self.config, indent=2).encode())
296-
writer.write(b"\n")
297296
elif data == "help":
298297
txt = get_help(self)
299298
writer.write(txt.encode("utf-8"))
@@ -314,6 +313,7 @@ async def read_command(self, reader: asyncio.StreamReader, writer: asyncio.Strea
314313
if not await self._call_handler(full_name, *args, notify=cmd):
315314
self.log.warning("No such command: %s", cmd)
316315

316+
writer.write(b"\n")
317317
await writer.drain()
318318
writer.close()
319319

pyprland/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Package version."""
22

3-
VERSION = "2.4.5-11"
3+
VERSION = "2.4.5-12"

0 commit comments

Comments
 (0)