From 7fc61bbf2ee9a25533af63fc4c8af3752ec2ff22 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sat, 20 May 2023 15:20:53 -0400 Subject: [PATCH] renaming PDAB to pdab to try to fix git issues --- Client/PDAB | 1 - Client/controllers/botController.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 160000 Client/PDAB diff --git a/Client/PDAB b/Client/PDAB deleted file mode 160000 index 51027d7..0000000 --- a/Client/PDAB +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 51027d794d02a08285921f8d64b42f03a723b017 diff --git a/Client/controllers/botController.js b/Client/controllers/botController.js index 6724cf4..16b2945 100644 --- a/Client/controllers/botController.js +++ b/Client/controllers/botController.js @@ -33,12 +33,12 @@ exports.joinServer = async (req, res) => { log.INFO("Join requested to: ", deviceId, channelId, clientId); if (process.platform === "win32") { log.DEBUG("Starting Windows Python"); - pythonProcess = await spawn('H:\\Logan\\Projects\\Python-Discord-Audio-Bot\\venv\\Scripts\\python.exe', [resolve(__dirname, "../PDAB/main.py"), deviceId, channelId, clientId, '-n', NGThreshold], { cwd: resolve(__dirname, "../PDAB/").toString() }); + pythonProcess = await spawn('H:\\Logan\\Projects\\Python-Discord-Audio-Bot\\venv\\Scripts\\python.exe', [resolve(__dirname, "../pdab/main.py"), deviceId, channelId, clientId, '-n', NGThreshold], { cwd: resolve(__dirname, "../pdab/").toString() }); //pythonProcess = await spawn('C:\\Python310\\python.exe', [resolve(__dirname, "../PDAB/main.py"), deviceId, channelId, clientId, NGThreshold ]); } else { log.DEBUG("Starting Linux Python"); - pythonProcess = await spawn('python3', [resolve(__dirname, "../PDAB/main.py"), deviceId, channelId, clientId, NGThreshold ], { cwd: resolve(__dirname, "../PDAB/") }); + pythonProcess = await spawn('python3', [resolve(__dirname, "../pdab/main.py"), deviceId, channelId, clientId, NGThreshold ], { cwd: resolve(__dirname, "../pdab/") }); } log.VERBOSE("Python Process: ", pythonProcess);