Skip to content

Commit

Permalink
Update Python.html
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Oct 2, 2024
1 parent 1ff41f6 commit 4cd025a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Variable/ADD_VARIABLE/Python.html
Original file line number Diff line number Diff line change
Expand Up @@ -508,9 +508,9 @@
var exec = require('child_process').exec;
var portablePythonPath = 'python-3.10.0\\App\\Python\\';
if (fs.existsSync(portablePythonPath + 'python.exe'))
var res = exec(Prefix + portablePythonPath + 'python '+filePath, {encoding: 'arraybuffer'}); // Portable Python Environment
var res = exec(Prefix + portablePythonPath + 'python ' + filePath, {encoding: 'arraybuffer'}); // Portable Python Environment
else
var res = exec(Prefix + 'py '+filePath, {encoding: 'arraybuffer'}); // Install Python Environment
var res = exec(Prefix + 'py ' + filePath, {encoding: 'arraybuffer'}); // Install Python Environment

var iconv = require('iconv-lite');
var message = "";
Expand Down

0 comments on commit 4cd025a

Please sign in to comment.