From f6e341bdbbec0d05a5c20baf79cd1704f6fa3df2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 20 Oct 2024 15:17:35 +0200 Subject: ... --- overlays/worktime/worktime/__main__.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'overlays') diff --git a/overlays/worktime/worktime/__main__.py b/overlays/worktime/worktime/__main__.py index c2c1829c..362c8da4 100755 --- a/overlays/worktime/worktime/__main__.py +++ b/overlays/worktime/worktime/__main__.py @@ -829,13 +829,7 @@ def main(): classification_parser.set_defaults(cmd = partial(classification, classification_name=classification_name)) args = parser.parse_args() - args.cmd( - **{ - k: v - for k, v in vars(args).items() - if k in signature(args.cmd).parameters.keys() - } - ) + args.cmd(**vars(args)) if __name__ == "__main__": sys.exit(main()) -- cgit v1.2.3