Subversion Repositories SmartDukaan

Rev

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

Rev 6643 Rev 16963
Line 14... Line 14...
14
    sys.path.insert(0, os.getcwd())
14
    sys.path.insert(0, os.getcwd())
15
 
15
 
16
from shop2020.clients.LogisticsClient import LogisticsClient
16
from shop2020.clients.LogisticsClient import LogisticsClient
17
from shop2020.utils.EmailAttachmentSender import mail
17
from shop2020.utils.EmailAttachmentSender import mail
18
 
18
 
19
to_addresses = ["cnc.center@shop2020.in", "sandeep.sachdeva@shop2020.in", "amit.sirohi@shop2020.in"]
19
to_addresses = ["cnc.center@shop2020.in", "chaitnaya.vats@saholic.com", "sunil.kumar@shop2020.in"]
20
from_user = "cnc.center@shop2020.in"
20
from_user = "cnc.center@shop2020.in"
21
from_pwd = "5h0p2o2o"
21
from_pwd = "5h0p2o2o"
22
 
22
 
23
def alert(provider_id, type, threshold):
23
def alert(provider_id, type, threshold):
24
    logistics_client = LogisticsClient().get_client()
24
    logistics_client = LogisticsClient().get_client()