From 6c0193520d935aced021bf5e0d61a521a68319bd Mon Sep 17 00:00:00 2001 From: cronekorkn Date: Sat, 24 Sep 2022 13:35:45 +0200 Subject: [PATCH] resolve unnecessary metaproc --- bundles/wol-sleeper/metadata.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/bundles/wol-sleeper/metadata.py b/bundles/wol-sleeper/metadata.py index 371174f..9dedbcd 100644 --- a/bundles/wol-sleeper/metadata.py +++ b/bundles/wol-sleeper/metadata.py @@ -29,15 +29,6 @@ defaults = { }, }, }, - }, -} - - -@metadata_reactor.provides( - 'systemd-timers/suspend-if-idle', -) -def timer(metadata): - return { 'systemd-timers': { 'suspend-if-idle': { 'command': f'suspend_if_idle', @@ -48,7 +39,8 @@ def timer(metadata): }, }, }, - } + }, +} @metadata_reactor.provides(