humblebundle-python icon indicating copy to clipboard operation
humblebundle-python copied to clipboard

examples.py broken: NoneType is not iterable

Open jmtd opened this issue 9 years ago • 1 comments

Assuming I comment out a line to avoid #12 , during the iteration, I eventually get

Traceback (most recent call last):
  File "examples.py", line 23, in <module>
    for subproduct in order.subproducts:
TypeError: 'NoneType' object is not iterable

It seems one of the orders return is empty.

jmtd avatar Nov 07 '16 15:11 jmtd

(I planned to do more debugging here but I hit #11 )

jmtd avatar Nov 07 '16 15:11 jmtd