From 036c8d682eff626ca38af2c934eaaf7e509dc60e Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 8 Jun 2022 12:57:28 -0300 Subject: [PATCH] Fixed missing test in last patch - Check for wrong output name --- kibot/out_compress.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/kibot/out_compress.py b/kibot/out_compress.py index 0f9afe29..4ab439ff 100644 --- a/kibot/out_compress.py +++ b/kibot/out_compress.py @@ -192,12 +192,13 @@ class CompressOptions(BaseOptions): for f in self.files: if f.from_output: out = RegOutput.get_output(f.from_output) - config_output(out) - if out is not None and out.category: - if isinstance(out.category, str): - cats.add(out.category) - else: - cats.update(out.category) + if out is not None: + config_output(out) + if out.category: + if isinstance(out.category, str): + cats.add(out.category) + else: + cats.update(out.category) else: cats.add('Compress') return list(cats)