Skip to content

Commit

Permalink
Update karton/config_extractor/config_extractor.py
Browse files Browse the repository at this point in the history
Co-authored-by: msm-cert <[email protected]>
  • Loading branch information
nazywam and msm-cert authored Feb 6, 2024
1 parent 2c8faab commit fae8ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karton/config_extractor/config_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def analyze_sample(self, task: Task, sample: ResourceBase) -> None:
for config in extractor.config:
legacy_config, karton_tasks = self.preprocess_config(config)

if len(legacy_config.items()) > 1:
if len(legacy_config) > 1:
self.log.info("Got config: {}".format(json.dumps(legacy_config)))
self.report_config(task, legacy_config, sample)

Expand Down

0 comments on commit fae8ba8

Please sign in to comment.