diff options
author | Alessio Sergi <al3hex@gmail.com> | 2015-11-29 20:00:00 +0100 |
---|---|---|
committer | Alessio Sergi <al3hex@gmail.com> | 2015-11-29 20:00:00 +0100 |
commit | 382fac50a62632b9b3236b351f08be81689eab03 (patch) | |
tree | 788d9d475412dae6a58e99f53d7accea0827b697 /glances/autodiscover.py | |
parent | c3c0c10305b3bed7f1368460597b97a46981c8c5 (diff) |
Rename OS vars for consistency
Diffstat (limited to 'glances/autodiscover.py')
-rw-r--r-- | glances/autodiscover.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glances/autodiscover.py b/glances/autodiscover.py index 7c13da5e..fa1414d4 100644 --- a/glances/autodiscover.py +++ b/glances/autodiscover.py @@ -22,7 +22,7 @@ import socket import sys -from glances.globals import appname, is_bsd +from glances.globals import appname, BSD from glances.logger import logger try: @@ -194,7 +194,7 @@ class GlancesAutoDiscoverClient(object): # XXX *BSDs: Segmentation fault (core dumped) # -- https://bitbucket.org/al45tair/netifaces/issues/15 - if not is_bsd: + if not BSD: try: # -B @ overwrite the dynamic IPv4 choice if zeroconf_bind_address == '0.0.0.0': |