Update flask_server.py

This commit is contained in:
MacRimi
2026-03-22 14:53:34 +01:00
parent fcc54e2d6a
commit 04661ce340

View File

@@ -7695,8 +7695,6 @@ def api_vm_control(vmid):
else: else:
return jsonify({'error': 'Failed to get VM details'}), 500 return jsonify({'error': 'Failed to get VM details'}), 500
except Exception as e: except Exception as e:
# print(f"Error controlling VM: {e}")
pass
return jsonify({'error': str(e)}), 500 return jsonify({'error': str(e)}), 500
@app.route('/api/vms/<int:vmid>/config', methods=['PUT']) @app.route('/api/vms/<int:vmid>/config', methods=['PUT'])