def legaSearch(widget,value): store=StoreConn("steamcommunity.com") while(1): try: print "[*] Legacy Finding "+value ilist=store.updateItemListLegacy(value) discoLegacy(ilist,widget) except: print sys.exc_info()[:2],"\n" print "[-] Some problems with legacy finder. Attempting to recreate connection" store.recon("steamcommunity.com")
def defaultSearch(widget,value): store=StoreConn("steamcommunity.com") while(1): try: print "[*] Default finding "+value ilist = store.updateItemList(value) discovery(ilist,widget) except: print sys.exc_info()[:2],"\n" print "[-] Some problems. Attempting to recreate connection" store.recon("steamcommunity.com")
def pipeDataToWidget(widget,index,value): store = StoreConn("steamcommunity.com") store.stockFind(value) while 1: try: print "[*] finding: "+store.stock[index] widget.yellowTextVar.set("Working") ilist = store.updateItemList(store.itemList[index]) discovery(ilist,widget) widget.yellowTextVar.set("Found!") except: print "[-] some problems. Attempting to reconnect" store.recon()