Changes comment terminator from carriage return to newline

This commit is contained in:
asdf 2019-12-07 22:52:09 +11:00
parent 74b67fd055
commit 4df794c45a

View File

@ -242,7 +242,7 @@ def reply(owner, tstamp, post_id):
append_write = "w+" # make a new file if not
with open(config.USER.datafile, append_write) as file:
timestamp = str(time.time())
file.write(timestamp + "|" + owner + "+" + tstamp + "|||" + comment + "\r")
file.write(timestamp + "|" + owner + "+" + tstamp + "|||" + comment + "\n")
x = input("Reply added. Hit [Enter] to return to thread.")
build_menu()