mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-08-04 14:49:36 +00:00
handle AttributeError as well
This commit is contained in:
parent
7cbd3cf338
commit
c8dae39f1a
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ except ImportError:
|
|||
try:
|
||||
import IN
|
||||
SO_BINDTODEVICE = IN.SO_BINDTODEVICE
|
||||
except ImportError:
|
||||
except (ImportError, AttributeError):
|
||||
SO_BINDTODEVICE = None
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue