Create folder isbn_sort
This commit is contained in:
parent
2e08db40b6
commit
cd6c0b1c4d
2
init.sh
2
init.sh
@ -11,4 +11,4 @@ if [ $? -eq 0 ]; then
|
||||
mv "data/$DATABASE" data/books-backup.db
|
||||
fi
|
||||
|
||||
sqlite3 "data/$DATABASE" < schema.sql
|
||||
sqlite3 "data/$DATABASE" < isbn_sort/schema.sql
|
@ -2,8 +2,8 @@ from flask import Flask, render_template, redirect, request, g, flash
|
||||
import secrets
|
||||
import json
|
||||
|
||||
from book import Book
|
||||
import isbn_db
|
||||
from .book import Book
|
||||
from . import isbn_db, sse
|
||||
|
||||
app = Flask(__name__)
|
||||
|
@ -2,7 +2,7 @@ from flask import current_app
|
||||
from flask import g
|
||||
import sqlite3
|
||||
|
||||
from book import Book
|
||||
from .book import Book
|
||||
|
||||
def get_db():
|
||||
"""Connect to the application's configured database. The connection
|
@ -1 +1,2 @@
|
||||
flask
|
||||
requests
|
Loading…
Reference in New Issue
Block a user