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