fastai / course20

Deep Learning for Coders, 2020, the website
https://book.fast.ai
Apache License 2.0
843 stars 305 forks source link

Decoding the result of `urlread` in `search_images_ddg` #52

Closed chsafouane closed 3 years ago

chsafouane commented 3 years ago

urlread has a parameter decode whose default value is set to True. As such, there is no need to call decode()on the result of urlread. The current version returns the following error: AttributeError: 'str' object has no attribute 'decode'

chsafouane commented 3 years ago

Redundant, see https://github.com/fastai/course20/pull/51#issue-578292422