From 8e54420dfd58f2c2178888b1deff0f791d670db2 Mon Sep 17 00:00:00 2001 From: Alvaro Neira Ayuso Date: Sat, 18 Jan 2020 13:57:48 +0100 Subject: (Clean-Up) Rename cmd function/variables to use "run" syntax --- src/linux/ogOperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/linux') diff --git a/src/linux/ogOperations.py b/src/linux/ogOperations.py index 119db4e..df78927 100644 --- a/src/linux/ogOperations.py +++ b/src/linux/ogOperations.py @@ -48,7 +48,7 @@ def reboot(): subprocess.call(['/sbin/reboot']) def execCMD(httpparser, ogRest): - cmd = httpparser.getCMD() + cmd = httpparser.getrun() cmds = cmd.split(" ") try: ogRest.proc = subprocess.Popen(cmds, stdout=subprocess.PIPE, shell=True) -- cgit v1.2.3-18-g5258