Subversion Repositories SmartDukaan

Rev

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

Rev 10544 Rev 10687
Line 32... Line 32...
32
import datetime
32
import datetime
33
import sys
33
import sys
34
import threading
34
import threading
35
import math
35
import math
36
 
36
 
37
to_addresses = ["khushal.bhatia@shop2020.in", "chaitnaya.vats@shop2020.in", "chandan.kumar@shop2020.in"]
37
to_addresses = ["khushal.bhatia@shop2020.in", "chaitnaya.vats@shop2020.in", "chandan.kumar@shop2020.in",'manoj.kumar@shop2020.in']
38
mail_user = "cnc.center@shop2020.in"
38
mail_user = "cnc.center@shop2020.in"
39
mail_password = "5h0p2o2o"
39
mail_password = "5h0p2o2o"
40
skippedItems = { 175 : [27, 2160, 2175, 2163, 2158, 7128, 26, 2154],
40
skippedItems = { 175 : [27, 2160, 2175, 2163, 2158, 7128, 26, 2154],
41
                 193 : [5839] }
41
                 193 : [5839] }
42
 
42
 
Line 1410... Line 1410...
1410
        snapdealstockateod = FlipkartStockAtEOD()
1410
        snapdealstockateod = FlipkartStockAtEOD()
1411
        snapdealstockateod.item_id = stockitem.item_id
1411
        snapdealstockateod.item_id = stockitem.item_id
1412
        snapdealstockateod.availability = stockitem.availability
1412
        snapdealstockateod.availability = stockitem.availability
1413
        snapdealstockateod.date =  to_py_date(stockitem.date)
1413
        snapdealstockateod.date =  to_py_date(stockitem.date)
1414
    session.commit()
1414
    session.commit()
1415
            
-
 
1416
1415
            
-
 
1416