Fixed missing test in last patch
- Check for wrong output name
This commit is contained in:
parent
3d95ba958c
commit
036c8d682e
|
|
@ -192,12 +192,13 @@ class CompressOptions(BaseOptions):
|
||||||
for f in self.files:
|
for f in self.files:
|
||||||
if f.from_output:
|
if f.from_output:
|
||||||
out = RegOutput.get_output(f.from_output)
|
out = RegOutput.get_output(f.from_output)
|
||||||
config_output(out)
|
if out is not None:
|
||||||
if out is not None and out.category:
|
config_output(out)
|
||||||
if isinstance(out.category, str):
|
if out.category:
|
||||||
cats.add(out.category)
|
if isinstance(out.category, str):
|
||||||
else:
|
cats.add(out.category)
|
||||||
cats.update(out.category)
|
else:
|
||||||
|
cats.update(out.category)
|
||||||
else:
|
else:
|
||||||
cats.add('Compress')
|
cats.add('Compress')
|
||||||
return list(cats)
|
return list(cats)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue