gophish / api-client-python

A Python API Client for Gophish
MIT License
45 stars 48 forks source link

Typo right here. #8

Closed JermellB closed 6 years ago

JermellB commented 6 years ago

https://github.com/gophish/api-client-python/blob/ad4229c9c753be38caa69a5346aeb869bd42ab8e/gophish/api/api.py#L97

if not respose.ok should be if not response.ok:

jordan-wright commented 6 years ago

Sorry for the late reply to this! Great catch. I've merged #11 which addresses this. I'll get a new version pushed to PyPi ASAP.