gophish / api-client-python

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

Added validation of "host" attribute #20

Closed quelsan closed 5 years ago

quelsan commented 5 years ago

Modified the init functionality to add a trailing forward slash to the host attribute if none is provided, which is required.

This commit complements https://github.com/gophish/api-client-python/pull/18 , which caused an issue if a trailing slash was missing.

jordan-wright commented 5 years ago

LGTM - thanks!