Skip "On the way" orders at Amazon. Closes #1716
This commit is contained in:
parent
2f61835521
commit
66298d2ea4
1 changed files with 2 additions and 1 deletions
|
|
@ -82,7 +82,8 @@ class OrderPage(AmazonPage):
|
||||||
# Payment for not yet shipped orders may change, and is not always
|
# Payment for not yet shipped orders may change, and is not always
|
||||||
# available.
|
# available.
|
||||||
return bool([x for s in [u'Not Yet Shipped', u'Not yet shipped',
|
return bool([x for s in [u'Not Yet Shipped', u'Not yet shipped',
|
||||||
u'Preparing for Shipment', u'Shipping now', u'In transit']
|
u'Preparing for Shipment', u'Shipping now', u'In transit',
|
||||||
|
u'On the way']
|
||||||
for x in self.doc.xpath(u'//*[contains(text(),"%s")]' % s)])
|
for x in self.doc.xpath(u'//*[contains(text(),"%s")]' % s)])
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue