s/comment/comment.body

This commit is contained in:
Daniel Lindmark 2024-05-15 12:00:23 -05:00
parent 21f3d15f95
commit 067aa3734a

View File

@ -84,7 +84,7 @@ with open(file_name, 'a') as f:
for comment in comments:
# write to file
with open(file_name, 'a') as f:
f.write(f"{comment}")
f.write(f"{comment.body}")
# f.write(f"Comment: {comment.text}\n")
f.write("\n")