Subversion Repositories SmartDukaan

Rev

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

Rev 9956 Rev 9957
Line 1073... Line 1073...
1073
            sheet.write(sheet_iterator, 6, math.ceil(mpHistory.ourSellingPrice+max(10,.01*mpHistory.ourSellingPrice)))
1073
            sheet.write(sheet_iterator, 6, math.ceil(mpHistory.ourSellingPrice+max(10,.01*mpHistory.ourSellingPrice)))
1074
        sheet_iterator+=1
1074
        sheet_iterator+=1
1075
    
1075
    
1076
    filename = "/tmp/snapdeal-report-"+runType+" " + str(timestamp) + ".xls"
1076
    filename = "/tmp/snapdeal-report-"+runType+" " + str(timestamp) + ".xls"
1077
    wbk.save(filename)
1077
    wbk.save(filename)
1078
    EmailAttachmentSender.mail("build@shop2020.in", "cafe@nes", ["rajneesh.arora@saholic.com","rajveer.singh@saholic.com","kshitij.sood@saholic.com"], " Snapdeal Auto Pricing " + str(timestamp), "", [get_attachment_part(filename)], [""], [])
1078
    EmailAttachmentSender.mail("build@shop2020.in", "cafe@nes", ["rajneesh.arora@saholic.com","rajveer.singh@saholic.com","kshitij.sood@saholic.com"], " Snapdeal Auto Pricing "+runType+" " + str(timestamp), "", [get_attachment_part(filename)], [""], [])
1079
 
1079
 
1080
 
1080
 
1081
def sendAutoPricingMail(successfulAutoDecrease,successfulAutoIncrease):
1081
def sendAutoPricingMail(successfulAutoDecrease,successfulAutoIncrease):
1082
    xstr = lambda s: s or ""
1082
    xstr = lambda s: s or ""
1083
    message="""<html>
1083
    message="""<html>