From dd6a8b497f2dc700f84e22c5efca8d8402848d0a Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Wed, 25 Jan 2023 15:46:24 -0500 Subject: [PATCH] [31] add missing comma --- VERSION | 2 +- modules/cache.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 7ce8cfe9..a7b3e8ea 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18.3-develop30 +1.18.3-develop31 diff --git a/modules/cache.py b/modules/cache.py index b01ce034..a7097b74 100644 --- a/modules/cache.py +++ b/modules/cache.py @@ -594,7 +594,7 @@ class Cache: with closing(connection.cursor()) as cursor: cursor.execute("INSERT OR IGNORE INTO mal_data2(mal_id) VALUES(?)", (mal_id,)) update_sql = "UPDATE mal_data2 SET title = ?, title_english = ?, title_japanese = ?, status = ?, airing = ?, " \ - "aired = ?, rating = ?, score = ?, rank = ?, popularity = ?, genres = ?, studio = ? expiration_date = ? WHERE mal_id = ?" + "aired = ?, rating = ?, score = ?, rank = ?, popularity = ?, genres = ?, studio = ?, expiration_date = ? WHERE mal_id = ?" cursor.execute(update_sql, ( mal.title, mal.title_english, mal.title_japanese, mal.status, mal.airing, mal.aired.strftime("%Y-%m-%d") if mal.aired else None, mal.rating, mal.score, mal.rank, mal.popularity, "|".join(mal.genres), mal.studio, expiration_date.strftime("%Y-%m-%d"), mal_id