Being pedantic with commas, capitalisation and spacing.
This commit is contained in:
parent
4b2aa0afcb
commit
d2a1134c57
@ -7,14 +7,18 @@ from flask_socketio import SocketIO
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
from sqlalchemy.dialects import registry
|
||||
|
||||
registry.register("rqlite.pyrqlite", "sqlalchemy_rqlite.pyrqlite", "dialect")
|
||||
registry.register(
|
||||
'rqlite.pyrqlite',
|
||||
'sqlalchemy_rqlite.pyrqlite',
|
||||
'dialect'
|
||||
)
|
||||
|
||||
basedir = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
UPLOAD_FOLDER = os.path.join(basedir, 'uploads')
|
||||
UPLOAD_FOLDER_COVER = os.path.join(basedir, 'cover')
|
||||
BASEDIR = os.path.abspath(os.path.dirname(__file__))
|
||||
UPLOAD_FOLDER = os.path.join(BASEDIR, 'uploads')
|
||||
UPLOAD_FOLDER_COVER = os.path.join(BASEDIR, 'cover')
|
||||
|
||||
load_dotenv(find_dotenv())
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
app.config['SECRET_KEY'] = 'super secret key'
|
||||
|
Loading…
Reference in New Issue
Block a user