Skip to content

Commit

Permalink
Update validator_functions.py
Browse files Browse the repository at this point in the history
Fix typo and added the r
  • Loading branch information
xe6077 authored Feb 29, 2024
1 parent 1f7208f commit cef51e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yara_validator/validator_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def update_metadata(data, force=False):
# Date isn't in the expected format, let's see if we can convert it
success, formatted_date = convert_date(date)
if success and Helper.validate_date(formatted_date):
self.required_fields[DATE].attibutevalid()
self.required_fields[DATE].attributevalid()
update_metadata(date, force=True)
else:
self.required_fields[DATE].attributeinvalid()
Expand Down

0 comments on commit cef51e4

Please sign in to comment.