Skip to content

Commit

Permalink
Fixes errors introduced by changes in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alx00x committed Oct 3, 2020
1 parent ecdc3be commit 8a43011
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
COMMUNITY_SPREADSHEET_KEY = os.environ["COMMUNITY_SPREADSHEET_KEY"]


def main():
def main(*args):

s3_client = s3Client(S3_BUCKET, SENDER_EMAIL, RECIPIENT_EMAIL)
gs_client = gsClient(VFXPY_SPREADSHEET_KEY, COMMUNITY_SPREADSHEET_KEY)
Expand Down
3 changes: 2 additions & 1 deletion src/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def notify(self, changes, community_key, vfxpy_key):

body_text = ("VFX Python 3 Readiness\r\n"
"Changes have occurred in the community spreadsheet!\r\n"
"https://docs.google.com/spreadsheets/d/{sid}".format(sid=sid)
"https://docs.google.com/spreadsheets/d/{community_key}".format(
community_key=community_key)
)

self.send_email(subject, body_html, body_text)
Expand Down
3 changes: 2 additions & 1 deletion src/svg_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ def generate_svg_wheel(s3_client, packages):
style_class=result['css_class'],
)
title = et.SubElement(sector, 'title')
title.text = u'{0} {1}'.format(result['name'], result['icon'])
icon = "\u2713" if result["py3support"] else "\u2717"
title.text = u'{0} {1}'.format(result['name'], icon)

add_fraction(wheel, packages, total)

Expand Down

0 comments on commit 8a43011

Please sign in to comment.