From 0af742bc24f39193a04c913b8abd7258fe10708a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 3 Nov 2021 16:44:04 -0700 Subject: facat_import.py: work around corner case in run_cdl_dash_dat() --- python/fatcat_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/fatcat_import.py b/python/fatcat_import.py index 116df8b7..445acde8 100755 --- a/python/fatcat_import.py +++ b/python/fatcat_import.py @@ -355,7 +355,7 @@ def run_cdl_dash_dat(args: argparse.Namespace) -> None: (editgroup_id, release, fs) = auto_cdl_dash_dat( api, args.dat_path, release_id=args.release_id, editgroup_id=args.editgroup_id ) - if not fs: + if not (fs and release): return print("release_id: {}".format(release.ident)) print("editgroup_id: {}".format(editgroup_id)) -- cgit v1.2.3