Subversion Repositories SmartDukaan

Rev

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

Rev 16264 Rev 18835
Line 28... Line 28...
28
        subject = date + ': ' + str(abs(unscannedCount))
28
        subject = date + ': ' + str(abs(unscannedCount))
29
        if unscannedCount > 0:
29
        if unscannedCount > 0:
30
            subject += ' items not scanned IN yet'
30
            subject += ' items not scanned IN yet'
31
        else:
31
        else:
32
            subject += ' extra items got scanned IN'
32
            subject += ' extra items got scanned IN'
33
    EmailAttachmentSender.mail('cnc.center@shop2020.in', '5h0p2o2o', ['manish.sharma@shop2020.in', 'anikendra.das@shop2020.in', 'sandeep.sachdeva@shop2020.in', 'warehousedel@shop2020.in', 'sunil.kumar@shop2020.in'], subject, "\n".join(body))
33
    EmailAttachmentSender.mail('cnc.center@shop2020.in', '5h0p2o2o', ['manish.sharma@shop2020.in', 'amit.gupta@shop2020.in', 'sandeep.sachdeva@shop2020.in', 'warehousedel@shop2020.in', 'shiv.kumar@shop2020.in'], subject, "\n".join(body))
34
 
34
 
35
def generateAndReportScanMismatches(date):
35
def generateAndReportScanMismatches(date):
36
    reportMismatches(generateScanMismatches(date), date)
36
    reportMismatches(generateScanMismatches(date), date)
37
 
37
 
38
def main():
38
def main():