phyloforfun commited on
Commit
5091b7c
1 Parent(s): 6e0a9ba
Files changed (1) hide show
  1. vouchervision/utils_hf.py +1 -1
vouchervision/utils_hf.py CHANGED
@@ -158,7 +158,7 @@ def report_violation(file_name, is_hf=True):
158
  content = {
159
  'violation_time': current_time,
160
  'notes': 'This is an autogenerated violation report.',
161
- 'name_of_file': violation_file_name,
162
  }
163
  # Write the content to the temporary YAML file in text mode
164
  yaml.dump(content, temp_file, default_flow_style=False)
 
158
  content = {
159
  'violation_time': current_time,
160
  'notes': 'This is an autogenerated violation report.',
161
+ 'name_of_file': file_name,
162
  }
163
  # Write the content to the temporary YAML file in text mode
164
  yaml.dump(content, temp_file, default_flow_style=False)