Create folder isbn_sort

This commit is contained in:
augustin64 2024-04-05 17:12:29 +02:00
parent 2e08db40b6
commit cd6c0b1c4d
11 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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__)

View File

@ -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

View File

@ -1 +1,2 @@
flask
flask
requests

5
wsgi.py Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/python3
from isbn_sort import app
if __name__ == "__main__":
app.run()