Subversion Repositories SmartDukaan

Rev

Rev 5576 | Rev 7088 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5576 Rev 5964
Line 27... Line 27...
27
        subject = date + ': ' + str(abs(unscannedCount))
27
        subject = date + ': ' + str(abs(unscannedCount))
28
        if unscannedCount > 0:
28
        if unscannedCount > 0:
29
            subject += ' items not scanned IN yet'
29
            subject += ' items not scanned IN yet'
30
        else:
30
        else:
31
            subject += ' extra items got scanned IN'
31
            subject += ' extra items got scanned IN'
32
    EmailAttachmentSender.mail('cnc.center@shop2020.in', '5h0p2o2o', ['mandeep.dhir@shop2020.in', 'amit.kumar@shop2020.in', 'ashutosh.saxena@shop2020.in', 'sandeep.sachdeva@shop2020.in'], subject, "\n".join(body))
32
    EmailAttachmentSender.mail('cnc.center@shop2020.in', '5h0p2o2o', ['mandeep.dhir@shop2020.in', 'amit.kumar@shop2020.in', 'ashutosh.saxena@shop2020.in', 'sandeep.sachdeva@shop2020.in','amar.kumar@shop2020.in'], subject, "\n".join(body))
33
 
33
 
34
def generateAndReportScanMismatches(date):
34
def generateAndReportScanMismatches(date):
35
    reportMismatches(generateScanMismatches(date), date)
35
    reportMismatches(generateScanMismatches(date), date)
36
 
36
 
37
def main():
37
def main():