Always use ToLowerInvariant

This commit is contained in:
n00mkrad
2022-10-14 09:00:47 +02:00
parent 292ccbdf0d
commit 8524d2b964
21 changed files with 62 additions and 62 deletions

View File

@@ -151,7 +151,7 @@ namespace Flowframes.Os
Logger.Log("Checking if system Python is available...", true);
string sysPyVer = GetSysPyVersion();
if (!string.IsNullOrWhiteSpace(sysPyVer) && !sysPyVer.ToLower().Contains("not found") && sysPyVer.Length <= 35)
if (!string.IsNullOrWhiteSpace(sysPyVer) && !sysPyVer.ToLowerInvariant().Contains("not found") && sysPyVer.Length <= 35)
{
isInstalled = true;
Logger.Log("Using Python installation: " + sysPyVer, true);