X-Git-Url: https://code.delx.au/webdl/blobdiff_plain/4e37710b9022ce9079f8256a6b01bb12019f21a7..8d6b793245e362dce6ff957cdd3e245c4292d268:/common.py diff --git a/common.py b/common.py index 1ce0008..70f9726 100644 --- a/common.py +++ b/common.py @@ -31,8 +31,13 @@ class Node(object): self.can_download = False def get_children(self): + if not self.children: + self.fill_children() return self.children + def fill_children(self): + pass + def download(self): raise NotImplemented