diff --git a/files/routes/admin.py b/files/routes/admin.py index 7231524cf..9fbfb68da 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -41,7 +41,7 @@ def fix(v): print(post.permalink, flush=True) g.db.add(post) try: g.db.commit() - except: continue + except: g.db.rollback() return 'sex' @app.post('/admin/merge//')