Skip to content

str + bytes bug in save_html() #43

@dennissergeev

Description

@dennissergeev

There is a bug on the line 197 in saving html method of VisualizationLocal class that results in

TypeError: Can't convert 'bytes' object to str implicitly

A possible fix:

f.write(('<script>' + js + '</script>').encode('utf-8'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions