diff --git a/server/python/plugin-repl.py b/server/python/plugin-repl.py deleted file mode 100644 index c95be467a..000000000 --- a/server/python/plugin-repl.py +++ /dev/null @@ -1,9 +0,0 @@ -from asyncore import write -import code - -class ScryptedConsole(code.InteractiveConsole): - def write(self, data: str) -> None: - return super().write(data) - - def raw_input(self, prompt: str) -> str: - return super().raw_input(prompt=prompt) diff --git a/server/python/plugin-remote.py b/server/python/plugin_remote.py similarity index 100% rename from server/python/plugin-remote.py rename to server/python/plugin_remote.py diff --git a/server/src/plugin/runtime/python-worker.ts b/server/src/plugin/runtime/python-worker.ts index af099537a..8c53ab05e 100644 --- a/server/src/plugin/runtime/python-worker.ts +++ b/server/src/plugin/runtime/python-worker.ts @@ -28,7 +28,7 @@ export class PythonRuntimeWorker extends ChildProcessWorker { ) } args.push( - path.join(__dirname, '../../../python', 'plugin-remote.py'), + path.join(__dirname, '../../../python', 'plugin_remote.py'), ) const gstEnv: NodeJS.ProcessEnv = {};