Blame | Last modification | View Log | RSS feed
from dtr.main import getStore, tprint, sourceMapimport tracebackdef main():for key, val in sourceMap.iteritems():try:tprint("Iterating through affiliate for", val)store = getStore(key)if store is not None:if store.store_id==4:store.scrapeStoreOrders()except:tprint("Error")traceback.print_exc()if __name__=='__main__':main()