sahlberg / pop-fe

Python script to automate the process of fetching boxart and installing PS1 games (onto your PSP/VITA/PS2/PS3)
135 stars 13 forks source link

Fixed uppercased MD5sums #94

Closed Webardo closed 4 months ago

Webardo commented 4 months ago

I'm so, so sorry. I didn't notice that the MD5sums I added were uppercased instead of lowercased, so they didn't get read. Excuse me for the clumsiness...

sahlberg commented 4 months ago

We might also change the place where it does the comparasion to always convert them to lower case before comparing, that way it would not matter if they are specified in upper/lower or mixed case.

Scratch that. It wouldnt work since we just check for the existence of the key in the dict, we are not comparing :-(

sahlberg commented 4 months ago

Maybe switch the md5sum dict to this: from requests.structures import CaseInsensitiveDict

then the case will not matter