@YuufaIf the power outage occurred while writing to the .ini file, then the file was incomplete and hence the error message. After restarting, the script should overwrite old ini file and create a new one.
A situation similar to those you can find in video games. Often in "triple A" video games you can see information like "Do not turn off the power when this icon is displayed". The game saves player's progress, and when the player turns off the power during writing to file, his savegame will be damaged. The same applies to any other software. If you turn off the power when writing to a file, the file will be incomplete and in most cases it will be useless.
I'm not sure what could have gone wrong in your case. I'm not sure why the script got stuck in place. Next time in case of similar error, try the following:
- close the script,
- open the script installation directory,
- delete the session.ini file,
- delete the cards.txt file,
- run the script again.
PS. New version will be available soon. The bug mentioned by
@Chicsans and
@Dfner was removed. You will be able to manually enter the path if the default paths are not available. I will do some tests and let you know when the new version will be online.