Auto create dirs
This commit is contained in:
parent
5fb61b9956
commit
d3a04d47f3
|
@ -11,6 +11,10 @@ const port = 8000;
|
|||
const aisPath = "pytron_run/ai_manager/"
|
||||
const aisPathOld = "pytron_run/ai_manager_old"
|
||||
|
||||
// Create the directories to store the files
|
||||
try { fs.mkdirSync('pytron_run/ai_manager'); } catch { }
|
||||
try { fs.mkdirSync('pytron_run/ai_manager_old'); } catch { }
|
||||
|
||||
let pythonRunning = false;
|
||||
let pythonShouldRun = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue