The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit a358abf1 authored by Vincent A's avatar Vincent A

[caissedepargne] given pages.py, Document.url cannot be null

parent 16bf5522
......@@ -30,7 +30,6 @@
CapDocument, Subscription, SubscriptionNotFound,
Document, DocumentNotFound, DocumentTypes,
)
from weboob.capabilities.base import NotAvailable
from weboob.capabilities.contact import CapContact
from weboob.capabilities.profile import CapProfile
from weboob.capabilities.base import find_object
......@@ -169,9 +168,6 @@ def download_document(self, document):
if not isinstance(document, Document):
document = self.get_document(document)
if document.url is NotAvailable:
return
return self.browser.download_document(document)
def iter_emitters(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment