quote condition judgement

This commit is contained in:
ahxxm 2016-09-06 11:20:04 +08:00
parent bcb528901d
commit 1e14bee907

View file

@ -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()