Ver Fonte

Remove unnecessary code which raise some exception

Mohidul Islam há 5 anos atrás
pai
commit
a3118a5502
1 ficheiros alterados com 0 adições e 9 exclusões
  1. 0 9
      analytics/send_email.py

+ 0 - 9
analytics/send_email.py

@@ -6,12 +6,3 @@ def send_email(to_list, subject, message, sender="Byte Trek Ltd. <noreply@bytetr
     msg = EmailMessage(subject, message, sender, to_list)
     msg.content_subtype = "html"  # Main content is now text/html
     return msg.send()
-
-
-to_list = ['ifatmohit@gmail.com']
-subject = 'Last month report'
-message = requests.get('http://127.0.0.1:8000/analytics/monthly-report/16389487648212004696').text
-
-
-def send_mail():
-    send_email(to_list, subject, message)