Remove unused toJSON method

This commit is contained in:
Félix Baylac-Jacqué 2020-10-18 16:57:25 +02:00
parent b09f06665d
commit 8583bd8653
Signed by: picnoir
GPG Key ID: EFD315F31848DBA4
1 changed files with 0 additions and 2 deletions

View File

@ -40,8 +40,6 @@ class UrlIp:
self.host = host
self.v4 = v4
self.v6 = v6
def toJSON(self):
return json.dumps(self, default=lambda o: o.__dict__,sort_keys=True)
def get_host_records(host):
'''