Skip to content

Commit

Permalink
Merge pull request #77 from xe6077/patch-1
Browse files Browse the repository at this point in the history
fix typo in validator_functions.py
  • Loading branch information
cccs-rs authored Mar 6, 2024
2 parents 1f7208f + cef51e4 commit 620d31d
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 620d31d

Please sign in to comment.