Repostats action nags me to set up a token, and I don't care :) Also there is no traffic on forks, so it doesn't make any sense to run it everywhere. With this change it will only run on your main repo, not on forks.
According to some tutorialssys.exit() is the recommended way to terminate the application nowadays, changed to it everywhere. If you put anything in the argument of sys.exit() the exit code will be 1, and the exit message is printed to the terminal, very nice!
Error handling in ConfiguratorIO, now catches exceptions correctly.
Configuration file is saved as utf-8: json.dumps(ensure_ascii=False) was the solution. It's much easier to edit the config file manually this way, if your language uses non ascii letters, like Hungarian do.
sys.exit()
is the recommended way to terminate the application nowadays, changed to it everywhere. If you put anything in the argument ofsys.exit()
the exit code will be 1, and the exit message is printed to the terminal, very nice!json.dumps(ensure_ascii=False)
was the solution. It's much easier to edit the config file manually this way, if your language uses non ascii letters, like Hungarian do.