From 25d32d83a9516634a378e4db7b51e524d0469df9 Mon Sep 17 00:00:00 2001 From: Eduard Date: Wed, 21 May 2025 13:11:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D1=83=20=D0=BD=D0=B0?= =?UTF-8?q?=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=B1=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/db.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/db/db.py b/db/db.py index 8871c05..a22aee8 100644 --- a/db/db.py +++ b/db/db.py @@ -80,13 +80,7 @@ class Database: cur = self.con.cursor() for tag in tags: try: - cur.execute( - "INSERT INTO tags VALUES(?, ?)", - ( - tag.id, - tag.title - ) - ) + cur.execute("INSERT INTO tags VALUES(?, ?)",(tag.id,tag.title)) self.con.commit() except Exception as e: logger.debug(e)