thewca/wca-workbook-assistant

Opening renamed TNoodle .zip files does not work.

jazzthief81 opened this issue · 1 comments

If the .zip file is renamed, the Workbook Assistant can not find the included .json file because it assumes that it has the same name.

Example:
Using Scrambles for Nottingham 2014. OH Final.zip gives:
Could not find Scrambles for Nottingham 2014. OH Final.json in C:\Users\Lars\Desktop\Scrambles for Nottingham 2014. OH Final.zip

The .json file contained in the .zip file is called Scrambles for 2014-02-20.json instead.

jfly commented

Yeah, I should have mentioned this, sorry. I couldn't decide what to do here. I think it's safe to say that there's only ever going to be one json file in the zip, so lets just pick one in the zip file arbitrarily?