fix: correct f.write argument in dataset.py dump function to close code block properly

This commit is contained in:
retoor 2024-11-24 06:17:50 +00:00
parent 7040fe5797
commit e5e5dd3aca
5 changed files with 2 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -39,7 +39,7 @@ def dump():
f.write(user)
f.write(" said ")
f.write(text)
f.write(user, "```")
f.write("```")
text = (
db.get_all_posts_of_user(user).replace("\n", " ").replace(" ", " ").strip()
)
@ -57,7 +57,7 @@ def dump():
f.write(user)
f.write(" said ")
f.write(text)
f.write(user, "```")
f.write("```")
all_content += total_text
print("===Mentions of users:", "```")
users = db.get_users()