Fixed missing test in last patch

- Check for wrong output name
This commit is contained in:
Salvador E. Tropea 2022-06-08 12:57:28 -03:00
parent 3d95ba958c
commit 036c8d682e
1 changed files with 7 additions and 6 deletions

View File

@ -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)