fix: Clean up unused code
All checks were successful
Build Docker / BuildImage (push) Successful in 2m14s
All checks were successful
Build Docker / BuildImage (push) Successful in 2m14s
This commit is contained in:
@@ -567,8 +567,8 @@ def tree():
|
|||||||
@terminal_bp.route("/terminal/execute/<command>", methods=["POST"])
|
@terminal_bp.route("/terminal/execute/<command>", methods=["POST"])
|
||||||
def execute_catch(command):
|
def execute_catch(command):
|
||||||
try:
|
try:
|
||||||
data = request.get_json() or {}
|
# data = request.get_json() or {}
|
||||||
args = data.get("args", "")
|
# args = data.get("args", "")
|
||||||
|
|
||||||
# Basic command processing
|
# Basic command processing
|
||||||
if command == "help":
|
if command == "help":
|
||||||
|
|||||||
Reference in New Issue
Block a user