Skip to content

README example does not work #88

@hannob

Description

@hannob

Trying to run the example code from the README file I get:

Traceback (most recent call last):
  File "/tmp/dh/./dh", line 26, in <module>
    note.content.add("Test Node 1")
    ^^^^^^^^^^^^^^^^
AttributeError: 'StringElement' object has no attribute 'add'

I believe a similar change to this needs to be applied:
b2d839f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions