backend: convert input images to webp

This commit is contained in:
OleSTEEP 2025-10-02 23:09:00 +03:00
parent d786d7f7af
commit 4921d4bd6f
5 changed files with 32 additions and 7 deletions

View file

@ -1,8 +1,10 @@
import sqlite3
from utils import asset
class VNDB:
def __init__(self, db_name='vn_database.db'):
def __init__(self, db_name=asset('vn_database.db')):
self.__db_name = db_name
connection = sqlite3.connect(self.__db_name)
cursor = connection.cursor()