Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

ascii in download should be utf8 #48

Open
alexmohr opened this issue Jul 9, 2018 · 0 comments
Open

ascii in download should be utf8 #48

alexmohr opened this issue Jul 9, 2018 · 0 comments

Comments

@alexmohr
Copy link

alexmohr commented Jul 9, 2018

downloading https://i.redd.it/19mq572los811.jpg Traceback (most recent call last): File "/usr/bin/wallpaper-reddit", line 11, in <module> load_entry_point('wallpaper-reddit==3.1.1', 'console_scripts', 'wallpaper-reddit')() File "/usr/lib/python3.6/site-packages/wpreddit/main.py", line 45, in run download.save_info(valid) File "/usr/lib/python3.6/site-packages/wpreddit/download.py", line 71, in save_info titleinfo.write(remove_tags(link[1])) UnicodeEncodeError: 'ascii' codec can't encode characters in position 39-40: ordinal not in range(128)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant