From 07ccb099108eb04e62edcba29fdf18fc7d219739 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Thu, 17 Dec 2020 12:15:20 +0100 Subject: [PATCH] make sure name is not a list... --- cronwrapper/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cronwrapper/__init__.py b/cronwrapper/__init__.py index 4712ece..60d21ec 100755 --- a/cronwrapper/__init__.py +++ b/cronwrapper/__init__.py @@ -79,7 +79,7 @@ def parse_args(): args = parser.parse_args() if not args.name: - args.name = [os.path.basename(args.command[0])] + args.name = os.path.basename(args.command[0]) return args