1515# If modifying these scopes, delete the file token.pickle.
1616SCOPES = ["https://www.googleapis.com/auth/forms.body" , "https://www.googleapis.com/auth/gmail.send" ]
1717
18- prev_attendance_file_2 = "/Users/wbland/mpi/mpi-forum.github.io/_data/meetings/2024/03 /attendance.csv"
19- prev_attendance_file_1 = "/Users/wbland/mpi/mpi-forum.github.io/_data/meetings/2024/06 /attendance.csv"
20- curr_attendance_file = "/Users/wbland/mpi/mpi-forum.github.io/_data/meetings/2024/09 /attendance.csv"
21- curr_registration_file = "/Users/wbland/mpi/meeting-details/2024-09-sep /2024-09-23 -registration.csv"
18+ prev_attendance_file_2 = "/Users/wbland/mpi/mpi-forum.github.io/_data/meetings/2024/06 /attendance.csv"
19+ prev_attendance_file_1 = "/Users/wbland/mpi/mpi-forum.github.io/_data/meetings/2024/09 /attendance.csv"
20+ curr_attendance_file = "/Users/wbland/mpi/mpi-forum.github.io/_data/meetings/2024/12 /attendance.csv"
21+ curr_registration_file = "/Users/wbland/mpi/meeting-details/2024-12-dec /2024-12-09 -registration.csv"
2222transition_orgs_file = "/Users/wbland/mpi/mpi-forum.github.io/_data/orgs.csv"
2323# Make sure to use a pre-filled link here so it gets email out correctly
24- voting_link = "https://docs.google.com/forms/d/e/1FAIpQLSdoohrwsfTNjhMG9QFNTlNIYl2RoDSLcOWiy1KYUxSkhoAuhg /viewform?usp=pp_url&entry.1374525185 ={name}&entry.632506003 ={org}&entry.467452776 ={id}"
24+ voting_link = "https://docs.google.com/forms/d/e/1FAIpQLSfViPA_t0cySFloL0sLFMqhklEuMLF6yByHt4Xa01vzUHi2Ag /viewform?usp=pp_url&entry.1086213497 ={name}&entry.1980873030 ={org}&entry.730538081 ={id}"
2525
26- prev_ooe = 29
26+ prev_ooe = 30
2727dry_run = 1
2828
2929from email import encoders
@@ -268,7 +268,7 @@ def main():
268268 message_text = """\
269269 Hi {name},
270270<br><br>
271- Voting is now open for the September 2024 Plenary Day 1 meeting. You may vote at this
271+ Voting is now open for the December 2024 Plenary Day 1 meeting. You may vote at this
272272link:
273273<br><br>
274274{link}
@@ -282,16 +282,15 @@ def main():
282282meeting up to the point where first voting block opened, your organization's
283283vote will not be counted.
284284<br><br>
285- Voting will be open until 09:30am on September 23, 2024 Perth Time (UTC +8) /
286- 8:30pm on September 24, 2024 US Central Time (UTC -5).
285+ Voting will be open until 01:00pm on December 09, 2024 US Central Time (UTC -6).
287286<br><br>
288287Thanks,
289288<br>
290289Wes Bland (MPI Forum Secretary)\
291290 """ .format (name = name , link = text_link )
292291
293292 message = service .
create_message (
from_addr = '"MPI Forum Mailer Bot" <[email protected] >' ,
294- to_addr = email , msg = message_text , subject = 'September 2024 MPI Forum Plenary Day 1 Voting Link' )
293+ to_addr = email , msg = message_text , subject = 'December 2024 MPI Forum Plenary Day 1 Voting Link' )
295294 if not dry_run or email == "[email protected] " :
296295 message_id = service .send_message (message = message )
297296
0 commit comments