Skip to content

Commit 6783c54

Browse files
committed
Update vote form generator script
1 parent db7305b commit 6783c54

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ _site/
88
Gemfile.lock
99
utils/credentials.json
1010
utils/vote_emailer_credentials.json
11+
utils/vote_form_generator.json
1112
utils/token.*
1213
utils/ballot.csv
1314
utils/votes.csv

utils/generate_vote_form.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
def main():
1818
year = "2024"
19-
month = "03"
20-
day = "1"
19+
month = "09"
20+
day = "2"
2121
filename = """../_data/meetings/{year}/{month}/votes.csv""".format(year=year, month=month)
2222
votes_list = list(csv.DictReader(open(filename)));
2323

@@ -55,7 +55,7 @@ def main():
5555
creds.refresh(Request())
5656
else:
5757
flow = InstalledAppFlow.from_client_secrets_file(
58-
'credentials.json', SCOPES)
58+
'vote_form_generator.json', SCOPES)
5959
creds = flow.run_local_server(port=0)
6060
# Save the credentials for the next run
6161
with open('token.json', 'w') as token:

0 commit comments

Comments
 (0)