From e68ab5cc81000a29fff718103cb9f70af493ffe9 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Thu, 10 Oct 2024 21:09:49 +0700 Subject: [PATCH] Rearrange misplaced code to its correct position --- Scripts/acpi_guru.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/acpi_guru.py b/Scripts/acpi_guru.py index f83b0c6..7a11286 100644 --- a/Scripts/acpi_guru.py +++ b/Scripts/acpi_guru.py @@ -2012,9 +2012,9 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "DNVMe", 0x00000000) } """ - ssdt_content = ssdt_content.replace("[[DevicePath]]", device_props.get("ACPI Path")) - if ssdt_name: + ssdt_content = ssdt_content.replace("[[DevicePath]]", device_props.get("ACPI Path")) + results["Add"].append( { "Comment": comment,