summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
Diffstat (limited to 'overlays')
-rwxr-xr-xoverlays/worktime/worktime/__main__.py8
1 files changed, 1 insertions, 7 deletions
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():
829 classification_parser.set_defaults(cmd = partial(classification, classification_name=classification_name)) 829 classification_parser.set_defaults(cmd = partial(classification, classification_name=classification_name))
830 args = parser.parse_args() 830 args = parser.parse_args()
831 831
832 args.cmd( 832 args.cmd(**vars(args))
833 **{
834 k: v
835 for k, v in vars(args).items()
836 if k in signature(args.cmd).parameters.keys()
837 }
838 )
839 833
840if __name__ == "__main__": 834if __name__ == "__main__":
841 sys.exit(main()) 835 sys.exit(main())