From: Christian Heller Date: Wed, 27 Mar 2024 01:06:06 +0000 (+0100) Subject: Remove unnecessary DB commit. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bprefix%7D%7D/%7B%7Byoutube_prefix%7D%7D%7B%7Bresult.id%7D%7D?a=commitdiff_plain;h=3b6002c6b45fa143785ed7f2dfc005ddab885835;p=plomtask Remove unnecessary DB commit. --- diff --git a/plomtask/http.py b/plomtask/http.py index 1046ecc..c1de987 100644 --- a/plomtask/http.py +++ b/plomtask/http.py @@ -53,7 +53,6 @@ class TaskHandler(BaseHTTPRequestHandler): return else: raise NotFoundException(f'Unknown page: /{site}') - conn.commit() conn.close() self._send_html(html) except HandledException as error: