Skip to content

Commit

Permalink
fixes rb#45
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Auriti committed Jan 12, 2017
1 parent e6b43b1 commit e1cdef5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions website/views.py
Expand Up @@ -93,12 +93,10 @@ def process_issue(self, user, obj, created, domain, score=3):

if created:
try:
email_to = get_email_from_domain(parsed_url.path)
email_to = get_email_from_domain(domain)
except:
email_to = domain.email
email_to = "support@"+domain

if not email_to:
email_to = "support@"+parsed_url.path
domain.email = email_to
domain.save()

Expand Down

0 comments on commit e1cdef5

Please sign in to comment.