aboutsummaryrefslogtreecommitdiff
path: root/server.py
diff options
context:
space:
mode:
authorHao Chen2020-03-17 15:15:20 -0500
committerHao Chen2020-03-17 15:15:20 -0500
commita7e84e18bce88a1e40f25781a72365818a143ac4 (patch)
tree1874456d096d9a388c29da5c3a988f2786811acc /server.py
parent1b516ee692248f4cd75570d9750b14f78554b41f (diff)
downloadgenecup-a7e84e18bce88a1e40f25781a72365818a143ac4.tar.gz
create userdir
Diffstat (limited to 'server.py')
-rwxr-xr-xserver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.py b/server.py
index 2a3a8cc..15699ac 100755
--- a/server.py
+++ b/server.py
@@ -19,6 +19,7 @@ app=Flask(__name__)
app.config['SECRET_KEY'] = '#DtfrL98G5t1dC*4'
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///userspub.sqlite'
db = SQLAlchemy(app)
+datadir="/export/ratspub/"
# the sqlite database
class users(db.Model):