Skip to content

Commit 3125536

Browse files
committed
disable email notifications
1 parent 7f0ccd8 commit 3125536

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

core/__init__.py

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

66
from core.routes import root
77
from core.listeners import listeners
8-
from core.utils import handle_daily_emails
8+
# from core.utils import handle_daily_emails
99

1010

1111
def create_app(config_class=Config):
@@ -21,6 +21,6 @@ def create_app(config_class=Config):
2121
app.blueprint(listeners)
2222

2323
Session(app) # sanic_session
24-
app.add_task(handle_daily_emails)
24+
# app.add_task(handle_daily_emails)
2525

2626
return app

core/templates/schoolweek.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h5>Maroon and gray A and B days for the week of {{ requested_date.strftime('%m/
2222
<div class="form-items" style="max-width: 700px;margin-top:25px;">
2323
<form class="form" method="POST" action="/schoolweek/subscribe">
2424
<div class="form-group">
25-
<label class="label" for="email">Subscribe to daily email notifications!</label>
25+
<label class="label" for="email">Subscribe to daily email notifications! *no longer on hybrid schedule, disabled.</label>
2626
<input name="email" type="email" class="form-control" id="email" placeholder="Email"></input>
2727
</div>
2828
<button type="submit" class="btn btn-success">Subscribe</button>

0 commit comments

Comments
 (0)