From 673d483031b4e5cb36081984ef56eb79e661a478 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Thu, 11 Jan 2024 12:22:59 +1000 Subject: [PATCH] get: Fix regression. --- kingfisher/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kingfisher/__init__.py b/kingfisher/__init__.py index c18f57d..596bcca 100644 --- a/kingfisher/__init__.py +++ b/kingfisher/__init__.py @@ -413,7 +413,7 @@ def download_from_aws(odp_link, run_identifier, download_threads, method): else: raise Exception("Programming error") - if len(output_files) == 0: + if not stdout and len(output_files) == 0: raise Exception("No output files found, something went amiss, unsure what.") logging.info("Output files: {}".format(', '.join(output_files)))