Remove superfluous CarriageReturn

\r\n creates CR CR LF in python, which confuses the Windows batch processor.
With only \n, adding the config line for FP32 works as expected:

10:50:43.659 WARNING cuda:0 forcing full precision on this GPU, to avoid green images. GPU detected: NVIDIA GeForce GTX 1060 6GB
This commit is contained in:
JeLuF 2023-02-17 10:53:51 +01:00
parent d612d7ab53
commit a36fb55b05

View File

@ -105,7 +105,7 @@ def setConfig(config):
if len(config_bat) > 0:
with open(config_bat_path, "w", encoding="utf-8") as f:
f.write("\r\n".join(config_bat))
f.write("\n".join(config_bat))
except:
log.error(traceback.format_exc())