Skip to content

Commit a0f350e

Browse files
author
eshaan7
committed
changes related to organization info
1 parent 58553cd commit a0f350e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/create_db.py

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

33
from FlaskRTBCTF import create_app, db, bcrypt
44
from FlaskRTBCTF.models import User, Score, Notification
5-
from FlaskRTBCTF.config import ctfname
5+
from FlaskRTBCTF.config import organization
66

77
app = create_app()
88

@@ -23,7 +23,7 @@
2323
db.session.add(admin_score)
2424

2525
notif = Notification(
26-
title=f"Welcome to {ctfname}",
26+
title=f"Welcome to {organization['ctfname']}",
2727
body = "The CTF is live now. Please read rules!"
2828
)
2929
db.session.add(notif)

0 commit comments

Comments
 (0)