There was an error while loading. Please reload this page.
1 parent b2457ef commit 70fead2Copy full SHA for 70fead2
Python/coreconfig.c
@@ -1344,7 +1344,7 @@ _PyCoreConfig_Read(_PyCoreConfig *config)
1344
config->argc = 0;
1345
}
1346
1347
- if (config->filesystem_encoding == NULL && config->filesystem_errors == NULL) {
+ if (config->filesystem_encoding == NULL || config->filesystem_errors == NULL) {
1348
err = config_init_fs_encoding(config);
1349
if (_Py_INIT_FAILED(err)) {
1350
return err;
0 commit comments