Corrupt Downloads on Windows

Bug #1338803 reported by Steven
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CoverLovin
New
Undecided
Unassigned

Bug Description

Using this excellent script on Windows, I was having problems with corrupt image downloads.
I figured out this is due to not opening the output file in binary mode.

I changed line 70 from:
coverImgLocal = open(os.path.join(directory, fileName), 'w')
to
coverImgLocal = open(os.path.join(directory, fileName), 'wb')

things seem to be good now.

Thanks,

Steven

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.