Skip to content

Commit

Permalink
Fix #36
Browse files Browse the repository at this point in the history
Thanks to @y-luis for originally finding and fixing this problem.
The original PR (#35) was discarded accidentally.
  • Loading branch information
Tyler Goodlet authored and goodboy committed Jul 4, 2019
1 parent 9099998 commit 16bca29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pysipp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ def scenario(dirpath=None, proxyaddr=None, autolocalsocks=True,
scenkwargs=scenkwargs
)

if proxyaddr:
assert isinstance(
proxyaddr, tuple), 'proxyaddr must be a (addr, port) tuple'
scen.clientdefaults.proxyaddr = proxyaddr
if proxyaddr:
assert isinstance(
proxyaddr, tuple), 'proxyaddr must be a (addr, port) tuple'
scen.clientdefaults.proxyaddr = proxyaddr

return scen

Expand Down

0 comments on commit 16bca29

Please sign in to comment.