Thanks @cringefloof for bring this to my attention.
This commit is contained in:
Deltaion Lee 2023-01-29 18:26:00 -06:00
parent c3f423b260
commit 176f97a4e5
3 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,6 @@
from .public import * # public
from .love import * # fc2pi
from .love2 import * # mii
from .util import * # utility
# --
# Following is unnecessary for production

View File

@ -9,6 +9,7 @@ import anyio, time, sqlite3, sys
sys.path.append('../')
from api.private import SERIAL_NUMBER, MAC_ADDRESS, DEVICE_CERT, DEVICE_NAME, REGION, LANGUAGE, PID, PID_HMAC, NEX_PASSWORD
from api import *
from api.love2 import *
import logging
logging.basicConfig(level=logging.INFO)

View File

@ -7,6 +7,7 @@ from flask_sqlalchemy import SQLAlchemy
import sqlite3, requests, sys, os, time, json, multiprocessing, datetime, xmltodict, pickle
sys.path.append('../')
from api import *
from api.love2 import *
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + os.path.abspath('sqlite/fcLibrary.db')