diff options
author | Melody Horn <melody@boringcactus.com> | 2021-03-25 18:15:40 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-03-25 18:15:40 -0600 |
commit | 1b86a5e7248223beb06f6e0eb230349f24ac379f (patch) | |
tree | ef4fea4dea32f9eed508011926023ae85ca6b6c1 | |
parent | 6a6ca3796f45237843d43805bcbed53a7b19087e (diff) | |
download | yapymake-1b86a5e7248223beb06f6e0eb230349f24ac379f.tar.gz yapymake-1b86a5e7248223beb06f6e0eb230349f24ac379f.zip |
unspecified makefile gives None, not []
-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: |