Subversion Repositories SmartDukaan

Rev

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

Rev 13493 Rev 13500
Line 7... Line 7...
7
    sys.path.insert(0, os.getcwd())
7
    sys.path.insert(0, os.getcwd())
8
 
8
 
9
from shop2020.clients.InventoryClient import InventoryClient
9
from shop2020.clients.InventoryClient import InventoryClient
10
 
10
 
11
def notify():
11
def notify():
12
    f = open('/catalog-dumps/catalog-items')
12
    f = open('/catalog-dumps/catalog.items')
13
    itemids = f.readline()
13
    itemids = f.readline()
14
    f.close()
14
    f.close()
15
    if len(itemids) == 0:
15
    if len(itemids) == 0:
16
        continue
16
        continue
17
    else:
17
    else: