diff options
-rw-r--r-- | yapymake/args.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |