Subversion Repositories SmartDukaan

Rev

Rev 21162 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21162 Rev 23631
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', ['amit.gupta@profitmandi.com', 'satish.kumartarashoverseas@gmail.com', 'shivam9718617332@gmail.com', 'deenanath@tarashoverseas.com'], subject, "\n".join(body))
33
    EmailAttachmentSender.mail('cnc.center@shop2020.in', '5h0p2o2o', ['amit.gupta@shop2020.in','shivam9718617332@gmail.com', 'deena.nath@smartdukaan.com'], 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():