Index list out of range?


I've just received an error with this code:

ListOfRawSizes ='.size-dropdown-block') Sizes = str(ListOfRawSizes[0].getText()).replace('\t', '')
Traceback (most recent call last):
File "", line 1, in
shoebot.Main('BB4486', 10)
File "/Users/joshrajendran/Documents/", line 33, in Main
File "/Users/joshrajendran/Documents/", line 23, in CheckStock
Sizes = str(ListOfRawSizes[0].getText()).replace('\t', '')
IndexError: list index out of range

I don't understand why it is out of range.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.