From 1b86a5e7248223beb06f6e0eb230349f24ac379f Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Thu, 25 Mar 2021 18:15:40 -0600 Subject: unspecified makefile gives None, not [] --- yapymake/args.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yapymake/args.py b/yapymake/args.py index f13f8e0..2252855 100644 --- a/yapymake/args.py +++ b/yapymake/args.py @@ -78,7 +78,7 @@ class Args: def __init__(self, parsed_args: argparse.Namespace): self.environment_overrides = parsed_args.environment_overrides - if len(parsed_args.makefile) > 0: + if parsed_args.makefile is not None and len(parsed_args.makefile) > 0: self.makefile = parsed_args.makefile else: try: -- cgit v1.2.3