Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mouadessalim authored Sep 14, 2021
1 parent bc18f46 commit 72c3e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var response = document.getElementById('value_js');
//});

function pythcall(x) {
var path_extraResources = path.dirname(__dirname);
const childPython = spawn(path_extraResources + "\\extraResources\\backend\\csgovaluecalculator.exe", [input_value.value]);
//const childPython = spawn(__dirname + "\\extraResources\\backend\\csgovaluecalculator.exe", [input_value.value]);
//const childPython = spawn("python", ["csgovaluecalculator.py", input_value.value]);
Expand All @@ -26,7 +27,6 @@ function pythcall(x) {

function myFonction() {
response.innerHTML = "Searching, please wait...";
var path_extraResources = path.dirname(__dirname);
if(isNaN(input_value.value)){
if(input_value.value.substring(0, 4) == "http"){
response.innerHTML = "SteamID profile link detected, please wait...";
Expand Down

0 comments on commit 72c3e40

Please sign in to comment.