Add status message to convert_db.py
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user