Spaces in mods.settings file
Gavvers opened this issue · comments
Using v0.7.5, I was encountering an error when trying to run Script Merger:
Your mods settings file is invalid.
Unrecognized value on line 2:
Enabled = 1
Looking at the source code, I noticed that in config.py write() method sets space_around_delimiters to true by default, which causes the above error. I do not have a python dev environment setup here, so I cannot test changing that parameter default, but it seems like a good candidate for the cause of this issue.
Strangely, though, I did not experience this error when I first installed TW3MM, but I looked at the config file and don't see what could have changed...
Apologies for not being able to test this myself. Please let me know if you need more info.
Thank you for the report! I'll look into it.
hmm.. this doesn't seem to affect me... what version of script merger are you using?
hmm.. this doesn't seem to affect me... what version of script merger are you using?
Latest on NexusMods, v0.6.2.
Thanks for the tip about the unofficial patch.
I applied it and the error is gone, thanks!
Glad you got it working! Unfortunately I haven't had much time in the past few weeks, but at some point I should probably look into the issue in a bit more detail. Until then I'll add a note to the readme about this.
Thanks for the help @MrJudge77!
I changed it to omit the spaces in version 0.7.6, so there should be no more issues with old Script Merger versions.