diff --git a/flask_app.py b/flask_app.py index 17607ae..b5fe268 100644 --- a/flask_app.py +++ b/flask_app.py @@ -327,6 +327,7 @@ def check_in(): msg = 'Dear ' + mlh_info['first_name'] + ',\n\n' msg += 'Thanks for checking in!\n' msg += 'We will start shortly, please check your dashboard for updates!\n' + msg += 'Here are the slides with all the info: https://goo.gl/mGLDem\n' send_email(mlh_info['email'], 'HackWPI - Thanks for checking in', msg) return jsonify( @@ -388,6 +389,7 @@ def drop(): @app.route('/promote_from_waitlist', methods=['GET']) def promote_from_waitlist(): + print("Time for promotion!") # Promote a hacker from the waitlist... if request.args.get('mlh_id') is None: return jsonify({'status': 'error', 'action': 'promote_from_waitlist', 'more_info': 'Missing required field...'}) diff --git a/manage_waitlist.py b/manage_waitlist.py index 9710c71..9e7dcd3 100644 --- a/manage_waitlist.py +++ b/manage_waitlist.py @@ -9,6 +9,8 @@ num_to_promote = WAITLIST_LIMIT - num_attendees if num_to_promote > num_waitlisted: num_to_promote = num_waitlisted +print("PROMOTING " + str(num_to_promote) + " hackers") + num_to_promote_copy = num_to_promote num_promoted = 0 errs = [] @@ -19,7 +21,7 @@ for id in mlh_ids: if num_to_promote > 0: print('Attempting to promote: ' + str(id[0])) (key, val) = gen_new_auto_promote_keys() - url = 'http://75.136.89.196:5000/promote_from_waitlist' + '?mlh_id=' + str(id[0]) + '&' + key + '=' + val + url = 'http://hack.wpi.edu/promote_from_waitlist' + '?mlh_id=' + str(id[0]) + '&' + key + '=' + val print(url) req = requests.get(url) if req.status_code == 500: diff --git a/templates/dashboard.html b/templates/dashboard.html index 32d3d6a..84d90d5 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -18,6 +18,8 @@
You can park at the Hackfeld Lot. Please make sure to print and put this placecard.
+ Info Slides: https://goo.gl/mGLDem +
Let us know if you have any questions by sending them to hack@wpi.edu
Forgot to upload your resume while registering? No worries, submit it here: