You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/etc/syncplay/config.yml when written it reads Booleans as flags so if you set it is becomes true regardless. Took me a good hour to figure out why chat is disabled even if I set to: disable-chat: false. So it needs to be omitted unless you want the value to be true.
Not a big deal but can be confusing as it is not properly read in code.
Below will be persistent, enabled stats and tls even if I set it to false and disable-chat will be disabled if I uncomment it. Strings work fine.
Sorry, this is indeed a logical error. In the initial command line options, there are only two concepts of "existence" and "absence", that is, the --disable-chat field, but in the configuration file, we specified through a Boolean value, there will be a problem with the logic at this time.
I will submit the fix later and update the corresponding docker image.
I will add pytest code in the future to catch similar errors.
/etc/syncplay/config.yml
when written it reads Booleans as flags so if you set it is becomestrue
regardless. Took me a good hour to figure out why chat is disabled even if I set to:disable-chat: false
. So it needs to be omitted unless you want the value to betrue
.Not a big deal but can be confusing as it is not properly read in code.
Below will be persistent, enabled stats and tls even if I set it to false and disable-chat will be disabled if I uncomment it. Strings work fine.
The text was updated successfully, but these errors were encountered: