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)