Subversion Repositories SmartDukaan

Rev

Rev 3133 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3086 rajveer 1
#!/usr/bin/python
2
import sys
3
from shop2020.clients.InventoryClient import InventoryClient
4
 
5
if __name__ == '__main__' and __package__ is None:
6
    import os
7
    sys.path.insert(0, os.getcwd())
8
 
9
def notify():
10
    client = InventoryClient().get_client()
11
    client.sendProductNotifications()
12
    print "Product notifications sending completed"
13
 
14
def main():
15
    notify()
16
 
17
if __name__ == '__main__':
18
    main()