Skip to content

Commit

Permalink
Merge pull request #964 from amakarudze/fix-962
Browse files Browse the repository at this point in the history
Replace event number with empty space in slug
  • Loading branch information
amakarudze authored Apr 2, 2024
2 parents 706505d + 72da209 commit 8846618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/gmail_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def get_or_create_gmail(event_application, event):
if get_gmail_account(event_application.website_slug) or get_gmail_account(event.page_url):
# account exists, do we need to migrate?
p = re.compile(r"\W\d+")
slug = p.sub(event_application.website_slug)
slug = p.sub("", event_application.website_slug)
if event_application.has_past_team_members(event):
# has old organizers, so no need to do anything
return make_email(slug), None
Expand Down

0 comments on commit 8846618

Please sign in to comment.