Skip to content

Commit

Permalink
Commenting out first declaration of target function
Browse files Browse the repository at this point in the history
  • Loading branch information
zweed4u committed May 1, 2017
1 parent 473395c commit 6a55a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supreme.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def productThread(name, size, color, qty, textColor, selectedCaptchaToken):
itemColor = c.get('productColor',c.options('productColor')[enumerableItem]).title()
itemQty = c.get('productQty',c.options('productQty')[enumerableItem])
exec('productThread'+str(enumerableItem+1) + " = copy_func(productThread)")
myThreadFunc = 'productThread'+str(enumerableItem+1)+'("'+itemName+'","'+itemSize+'","'+itemColor+'","'+itemQty+'")'
#myThreadFunc = 'productThread'+str(enumerableItem+1)+'("'+itemName+'","'+itemSize+'","'+itemColor+'","'+itemQty+'")'
myThreadFunc = eval('productThread'+str(enumerableItem+1))
print "[["+colorText+"Thread-"+str(enumerableItem+1)+COLOR_END+"]]",colorText,itemName, itemSize, itemColor, itemQty,'Thread initialized!',COLOR_END
t = threading.Thread(target=myThreadFunc, args=(itemName, itemSize, itemColor, itemQty, colorText, myCaptchaToken,))
Expand Down

0 comments on commit 6a55a8c

Please sign in to comment.