From 4f5fd88aa95889eea3ecf396af9a53d19c29e110 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 26 Jun 2020 19:39:55 +0200 Subject: [PATCH] publish: 1.1.2 --- wikipack/stars/api_wiki.py | 3 ++- wikipack/version.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wikipack/stars/api_wiki.py b/wikipack/stars/api_wiki.py index 7f49f291..f7ddbb8b 100644 --- a/wikipack/stars/api_wiki.py +++ b/wikipack/stars/api_wiki.py @@ -249,7 +249,8 @@ class ApiWikiStar(rca.ApiStar): pages = await ru.asyncify( data.session.query(WikiRevisionT).filter_by(page_id=lr.page_id).all ) - data.session.delete(pages) + for page in pages: + data.session.delete(page) data.session.add(deletion) await data.session_commit() diff --git a/wikipack/version.py b/wikipack/version.py index 4d67bd1a..ad03fe3c 100644 --- a/wikipack/version.py +++ b/wikipack/version.py @@ -1 +1 @@ -semantic = "1.1.1" +semantic = "1.1.2"