Subversion Repositories SmartDukaan

Rev

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

Rev 14742 Rev 14750
Line 149... Line 149...
149
        sheet.write(it, 24, x.nlcPoints)
149
        sheet.write(it, 24, x.nlcPoints)
150
        sheet.write(it, 25, x.bestSellerPoints)
150
        sheet.write(it, 25, x.bestSellerPoints)
151
        sheet.write(it, 26, x.catalogBestSellerPoints)
151
        sheet.write(it, 26, x.catalogBestSellerPoints)
152
        sheet.write(it, 27, x.totalPoints)
152
        sheet.write(it, 27, x.totalPoints)
153
        sheet.write(it, 28, x.showDeal)
153
        sheet.write(it, 28, x.showDeal)
154
        sheet.write(it, 28, x.showDealOld)
154
        sheet.write(it, 29, x.showDealOld)
155
        it+=1
155
        it+=1
156
    filename = "/tmp/deal-data"+str(datetime.now())+".xls" 
156
    filename = "/tmp/deal-data"+str(datetime.now())+".xls" 
157
    wbk.save(filename)
157
    wbk.save(filename)
158
    smtpServer = smtplib.SMTP('localhost')
158
    smtpServer = smtplib.SMTP('localhost')
159
    #smtpServer.set_debuglevel(1)
159
    #smtpServer.set_debuglevel(1)