Delete report data once generated

This commit is contained in:
Yax
2015-09-20 12:42:15 +02:00
parent c461c5fa49
commit e59c956d0d
+3 -2
View File
@@ -330,8 +330,9 @@ def report(token):
mail(site.admin_email, subject, email_body)
# TODO: delete report table
# Report.delete().execute()
# delete report table
Report.delete().execute()
def mail(to_email, subject, message):