Fix the writing bug

This commit is contained in:
Howard Abrams 2025-11-23 19:58:14 -08:00
parent 6cea0e122a
commit 134322d2b4

View file

@ -123,9 +123,9 @@ class WriteableBook(Book):
(city, region, country, _) = location(self) (city, region, country, _) = location(self)
if country: if country:
myfile.write(f"> From: {city}, {region}, {country}") myfile.write(f"> From: {city}, {region}, {country}\n")
else: else:
myfile.write("> From: localhost") myfile.write("> From: localhost\n")
myfile.write(f"> Cmds: {session.cmd_total}\n\n") myfile.write(f"> Cmds: {session.cmd_total}\n\n")
def do_write_end(self, writer): def do_write_end(self, writer):