Skip to content

Commit f73cfae

Browse files
camlyallsevein
authored andcommitted
Fix incorrect use of rule and command uuid
1 parent 823c3ce commit f73cfae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

a3m/client/clientScripts/characterize_file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ def main(job, file_path, file_uuid, sip_uuid):
120120

121121
# Save outputs if they are the same
122122
for file_uuid, rule, stdout in state:
123-
_insert_command_output(file_uuid, rule.uuid, stdout)
123+
_insert_command_output(file_uuid, rule.id, stdout)
124124
job.write_output(
125125
'Saved XML output for command "{}" ({})'.format(
126-
rule.command.description, rule.command.uuid
126+
rule.command.description, rule.command.id
127127
)
128128
)
129129

0 commit comments

Comments
 (0)