home · contact · privacy
Remove unnecessary DB commit.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 27 Mar 2024 01:06:06 +0000 (02:06 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 27 Mar 2024 01:06:06 +0000 (02:06 +0100)
plomtask/http.py

index 1046eccbb1523c784717ca8d5f7a970d11404b85..c1de98751778706330991d0427b41a4df1ea86ca 100644 (file)
@@ -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: