summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rwxr-xr-xpython/fatcat_import.py2
1 files changed, 1 insertions, 1 deletions
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))