From 04dc9fbcbce400265a916e8a60d358a26a22cb0b Mon Sep 17 00:00:00 2001 From: John Nduli Date: Tue, 24 Sep 2024 15:41:26 +0300 Subject: chore: pylint code fix --- gn3/api/metadata_api/wiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/api') diff --git a/gn3/api/metadata_api/wiki.py b/gn3/api/metadata_api/wiki.py index 0fe228f..8df6cfb 100644 --- a/gn3/api/metadata_api/wiki.py +++ b/gn3/api/metadata_api/wiki.py @@ -83,7 +83,7 @@ def edit_wiki(comment_id: int): sparql_auth_uri=current_app.config["SPARQL_AUTH_URI"] ) except Exception as exc: - conn.rollback() + conn.rollback() # type: ignore raise exc return jsonify({"success": "ok"}) return jsonify(error="Error editing wiki entry, most likely due to DB error!"), 500 -- cgit v1.2.3