Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9acde1

Browse files
committed
Eliminate warning in the previous commit.
1 parent 7683200 commit c9acde1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PythonForDelphi/Components/Sources/Core/PythonEngine.pas

+1-1
Original file line numberDiff line numberDiff line change
@@ -4842,7 +4842,7 @@ procedure TPythonEngine.Initialize;
48424842
'del sys, path, i, site';
48434843
begin
48444844
if VenvPythonExe <> '' then
4845-
ExecString(Format(Script, [VenvPythonExe]));
4845+
ExecString(AnsiString(Format(Script, [VenvPythonExe])));
48464846
_path := PySys_GetObject('path');
48474847
if Assigned(FOnSysPathInit) then
48484848
FOnSysPathInit(Self, _path);

0 commit comments

Comments
 (0)