diff --git a/src/drstats/dataset.py b/src/drstats/dataset.py index 1abb770..5101a1b 100644 --- a/src/drstats/dataset.py +++ b/src/drstats/dataset.py @@ -24,7 +24,7 @@ def dump(): all_content = "" for user in db.get_users(): text = ( - db.get_all_rants_of_user(user).replace("\n", " ").replace(" ", " ").strip() + db.get_all_rants_of_user(user) ) total_text = "" if text: @@ -43,7 +43,7 @@ def dump(): f.write(text) f.write("```") text = ( - db.get_all_posts_of_user(user).replace("\n", " ").replace(" ", " ").strip() + db.get_all_posts_of_user(user) ) if text: total_text += text @@ -62,6 +62,7 @@ def dump(): f.write("```") all_content += total_text print("===Mentions of users:", "```") + users = db.get_users() users.sort() for user in users: