Fix the writing bug
This commit is contained in:
parent
6cea0e122a
commit
134322d2b4
1 changed files with 2 additions and 2 deletions
|
|
@ -123,9 +123,9 @@ class WriteableBook(Book):
|
|||
|
||||
(city, region, country, _) = location(self)
|
||||
if country:
|
||||
myfile.write(f"> From: {city}, {region}, {country}")
|
||||
myfile.write(f"> From: {city}, {region}, {country}\n")
|
||||
else:
|
||||
myfile.write("> From: localhost")
|
||||
myfile.write("> From: localhost\n")
|
||||
myfile.write(f"> Cmds: {session.cmd_total}\n\n")
|
||||
|
||||
def do_write_end(self, writer):
|
||||
|
|
|
|||
Loading…
Reference in a new issue