diff --git a/posts.py b/posts.py index 7532bd23..a67898d3 100644 --- a/posts.py +++ b/posts.py @@ -762,6 +762,14 @@ def createReportPost(baseDir: str, if port!=80 and port!=443: domainFull=domain+':'+str(port) + # add a title to distinguish moderation reports from other posts + reportTitle='Moderation Report' + if not subject: + subject=reportTitle + else: + if not subject.startswith(reportTitle): + subject=reportTitle+': '+subject + # create the list of moderators from teh moderators file moderatorsList=[] moderatorsFile=baseDir+'/accounts/moderators.txt'