izar / pytm

A Pythonic framework for threat modeling
Other
876 stars 165 forks source link

Fixed sample threat model in README.md #168

Closed jnk22 closed 3 years ago

jnk22 commented 3 years ago

Hi,

I have tried to build a threat model diagram from the provided sample script at Creating a Threat Model in README.md, but there were some missing imports and 2 lines got mixed up (a Dataflow attribute has been changed before its initialization).

Should be fixed with these changes :)

izar commented 3 years ago

Thank you for the PR!