ckan / ckanext-archiver

Archive CKAN resources
MIT License
21 stars 46 forks source link

No need to decode a string to ASCII explicitly #92

Open thorge opened 11 months ago

thorge commented 11 months ago

Python 3 natively supports Unicode characters in strings and URLs. So, the try block can safely be removed and should be removed in py3 envs to prevent double encoding. If py2 should still be supported, let me know.

Fixes #91