autopkg / hansen-m-recipes

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

Mega Software: fix bug with html unescape #228

Closed TK5-Tim closed 2 years ago

TK5-Tim commented 2 years 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 2 years ago

Thanks!