Skip to content

Commit 15b958e

Browse files
author
Joseph Lomas
committedJul 6, 2024
Actual fix.
1 parent 9aef109 commit 15b958e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import os
22
from dotenv import load_dotenv
33

4+
basedir = os.path.abspath(os.path.dirname(__file__))
45
load_dotenv(os.path.join(basedir, '.env'))
56

6-
basedir = os.path.abspath(os.path.dirname(__file__))
77
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')
88
SQLALCHEMY_TRACK_MODIFICATIONS = True
99

0 commit comments

Comments
 (0)
Please sign in to comment.