diff --git a/smugcli/smugmug.py b/smugcli/smugmug.py index 415b4d3..014087c 100644 --- a/smugcli/smugmug.py +++ b/smugcli/smugmug.py @@ -250,6 +250,9 @@ def __hash__(self): def get_children(self, params=None) -> NodeList: """Get the children list of this node.""" if 'Type' not in self._json: + if 'FileName' in self._json: + # it's a single image, which has no children + return [] raise UnexpectedResponseError('Node does not have a "Type" attribute.') params = params or {}