Closed karthanistyr closed 1 year ago
@ClementJ18 hi, please note that I'd like this merged before long so that we can move forward with https://github.com/lutris/lutris/pull/4711 :pray:
Thanks for the quick turnaround, will you consider releasing a bugfix on pypi too ?
In progress, just need to wrap up a few things
@karthanistyr https://pypi.org/project/moddb/0.8.1/
Thanks for the report and PR
The regexp:
r"(.*) #([0-9]*) \((.{2}), (.{2})\)"
fails to match some mirror lines, e.g. "DBolical EU #3 (FRANKFURT, DE)"The 'city' part is not always 2 characters long, sometimes it's more (i.e. FRANKFURT as in the example above).
This breaks
File.get_mirrors
which then crashes.