Fix report
This commit is contained in:
parent
2782301cdb
commit
7a698d16a9
1 changed files with 6 additions and 6 deletions
|
@ -274,16 +274,16 @@ def report_published(comment):
|
||||||
report.save()
|
report.save()
|
||||||
|
|
||||||
|
|
||||||
def report_subscribed(comment):
|
def report_subscribed(reader):
|
||||||
report = Report(site=comment.site, url=comment.url,
|
report = Report(site=reader.site, url=reader.url,
|
||||||
name=comment.author_name, email=comment.author_email,
|
name='', email=reader.email,
|
||||||
subscribed=True)
|
subscribed=True)
|
||||||
report.save()
|
report.save()
|
||||||
|
|
||||||
|
|
||||||
def report_unsubscribed(comment):
|
def report_unsubscribed(reader):
|
||||||
report = Report(site=comment.site, url=comment.url,
|
report = Report(site=reader.site, url=reader.url,
|
||||||
name=comment.author_name, email=comment.author_email,
|
name='', email=reader.email,
|
||||||
unsubscribed=True)
|
unsubscribed=True)
|
||||||
report.save()
|
report.save()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue