backend: convert input images to webp
This commit is contained in:
parent
d786d7f7af
commit
4921d4bd6f
5 changed files with 32 additions and 7 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue