Skip to content

Commit f8964d6

Browse files
committed
Hotfix for the G15 5520 patch.
1 parent 271b4a4 commit f8964d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,12 @@ def checkLaptapModel(self):
109109

110110
for (command, patch) in commands.values():
111111
self.acpi_cmd = command
112-
if patch:
113-
patch(self)
114112

115113
if (self.acpi_call("get_laptop_model") == "0x12c0"):
116114
self.is_dell_g15 = True
115+
#Patch for G15 5520, if needed.
116+
if patch:
117+
patch(self)
117118
break
118119

119120
def createFirstExclusiveGroup(self):

0 commit comments

Comments
 (0)