[~] Refactor
This commit is contained in:
parent
fd432fc915
commit
2b2df926b2
@ -1476,7 +1476,8 @@ def pm_service(argv):
|
|||||||
|
|
||||||
if not cmd is None and (
|
if not cmd is None and (
|
||||||
'TurnedOn' in cmd or
|
'TurnedOn' in cmd or
|
||||||
'PrevIdle' in cmd
|
'PrevIdle' in cmd or
|
||||||
|
'PMRD: kIOMessageSystemWillPowerOn' in cmd
|
||||||
):
|
):
|
||||||
if (
|
if (
|
||||||
('AppleMultitouchDevice' in cmd and 'tp' in options.events) or
|
('AppleMultitouchDevice' in cmd and 'tp' in options.events) or
|
||||||
|
Loading…
Reference in New Issue
Block a user