fix: correct f.write argument in dataset.py dump function to close code block properly
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user