Skip to content

Using pyinfo.info_as_html() get error "module 'cgi' has no attribute 'escape' " in file renderers.py #3

Open
@debimax

Description

@debimax

This a patch for file renderers.py

2,3c2
< import cgi
< 
---
> import html as html2
85c84
<             v = cgi.escape(str(data[k]))
---
>             v = html2.escape(str(data[k]))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions