This commit is contained in:
Miroslav Stampar
2019-07-03 09:17:25 +02:00
parent 7b668127fc
commit a7695dd06f
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ class DNSServer(object):
except:
pass
finally:
if response and "google" in response:
if response and b"google" in response:
raise socket.error("another DNS service already running on *:53")
def pop(self, prefix=None, suffix=None):