From 47bb480b741dd2886373aa88ba37af6ce081559e Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Tue, 25 Jul 2023 15:56:37 -0700 Subject: [PATCH] Add status message to convert_db.py Signed-off-by: Alek Ratzloff --- convert_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert_db.py b/convert_db.py index 47e128b..1fca995 100644 --- a/convert_db.py +++ b/convert_db.py @@ -49,7 +49,7 @@ old_db.row_factory = dict_factory bans = old_db.execute("SELECT * FROM BANS").fetchall() -import pprint +print("Converting", len(bans), "rows") for ban in bans: post = json.loads(ban["post"])