Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

Commit

Permalink
fixed argument for 's' must be a string #232 thanks @okazymyrov
Browse files Browse the repository at this point in the history
  • Loading branch information
mh4x0f committed Jun 6, 2017
1 parent e42406e commit 66a94e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Version 0.8.5
- fixed error TCP-Proxy plugin imageCap #218
- fixed possible error [Errno 2] No such file or directory #217
- fixed replace bs4 to BeautifulSoup #228
- fixed argument for 's' must be a string #232 thanks @okazymyrov

Version 0.8.4
-------------
Expand Down
1 change: 1 addition & 0 deletions core/config/commits/Lcommits.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ master:
{ changelog : 'fixed error TCP-Proxy plugin imageCap #218' },
{ changelog : 'fixed possible error [Errno 2] No such file or directory #217' },
{ changelog : 'fixed replace bs4 to BeautifulSoup #228' },
{ changelog : 'fixed argument for 's' must be a string #232 thanks @okazymyrov' },
]

WiFiPumpkin084:
Expand Down
6 changes: 3 additions & 3 deletions core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,10 @@ def get_supported_interface(dev):

@staticmethod
def get_Ipaddr(card):
''' get ipadress from send arg None or interface name '''
''' get ipadress by interface name'''
if card == None:
return get_if_addr(Refactor.get_interfaces()['activated'][0])
return get_if_addr(card)
return get_if_addr('{}'.format(Refactor.get_interfaces()['activated'][0]))
return get_if_addr('{}'.format(card))

@staticmethod
def get_mac(host):
Expand Down

0 comments on commit 66a94e1

Please sign in to comment.