quote condition judgement
This commit is contained in:
parent
bcb528901d
commit
1e14bee907
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ class DNSResolver(object):
|
|||
content = f.readlines()
|
||||
for line in content:
|
||||
line = line.strip()
|
||||
if not line and line.startswith(b'nameserver'):
|
||||
if not (line and line.startswith(b'nameserver')):
|
||||
continue
|
||||
|
||||
parts = line.split()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue