Skip to content

Commit 16a8a88

Browse files
author
eshaan7
committed
updated Debug conf
1 parent 3741783 commit 16a8a88

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/FlaskRTBCTF/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
class Config:
44
SECRET_KEY = 'you-will-never-guess' # os.environ.get('SECRET_KEY')
5-
SQLALCHEMY_DATABASE_URI = 'sqlite:///site.db' #os.environ.get('SQLALCHEMY_DATABASE_URI')
5+
SQLALCHEMY_DATABASE_URI = 'sqlite:///site.db' # os.environ.get('SQLALCHEMY_DATABASE_URI')
66
SQLALCHEMY_TRACK_MODIFICATIONS = False
7+
DEBUG = False
78
MAIL_SERVER = 'smtp.googlemail.com'
89
MAIL_PORT = 587
910
MAIL_USE_TLS = True
1011
MAIL_USERNAME = os.environ.get('EMAIL_USER')
1112
MAIL_PASSWORD = os.environ.get('EMAIL_PASS')
1213

13-
debugState=True
1414
ctfname = "RootTheBox CTF"
1515
RunningTime = '{ "from": "3:00 PM 7th July 2019", "to": "12:00 AM 8th July 2019", "TimeZone": "IST" }'
1616
box = '{ "name": "My Awesome Pwnable Box", "ip": "127.0.0.1", "os": "Linux", "points": { "user": 10, "root": 20 }, "hardness": "You tell" }'

src/run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from FlaskRTBCTF import create_app
2-
from FlaskRTBCTF.config import debugState
32

43
app = create_app()
54

65
if __name__ == '__main__':
7-
app.run(debug=False or debugState)
6+
app.run()

0 commit comments

Comments
 (0)