autopkg / hansen-m-recipes

My recipes for Autopkg - https://github.com/autopkg
27 stars 49 forks source link

Mega Software: fix bug with html unescape #228

Closed TK5-Tim closed 1 year ago

TK5-Tim commented 1 year ago

From Python 3.9 HTMLParser() does not have the method unescape anymore. Therefore running the recipe causes this error: AttributeError: 'HTMLParser' object has no attribute 'unescape'

The easy solution is to just do it with the html module imported: https://stackoverflow.com/a/70793745

rustymyers commented 1 year ago

Thanks!