DigitalTrustCenter / sectxt

security.txt parser and validator
European Union Public License 1.2
17 stars 6 forks source link

Attribute error when calling warnings attribute if security.txt does not exist #12

Closed Michelli closed 2 years ago

Michelli commented 2 years ago
>>> from sectxt import SecurityTXT
>>> s = SecurityTXT("example.com")
>>> s.warnings
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'SecurityTXT' object has no attribute 'warnings'
>>>
DigitalTrustCenter commented 2 years ago

Thanx for the report.

Fixed typo in README. "warnings" should be "recommendations"