Upd: one proxy can maintain the many networks

This commit is contained in:
Gregory Lirent 2024-05-29 23:37:39 +03:00
parent 03dc15deb9
commit 388d4c657e
Signed by: lirent
GPG Key ID: F616BE337EFFEE77

View File

@ -74,9 +74,6 @@ class Proxy:
content += f'\tif (shExpMatch(h, "{target}")) return true;\n'
return f'{content}\treturn false;\n}}'
def __hash__(self):
return abs(hash(str(self)))
def __str__(self):
return f'PROXY {self.__host}:{self.__port}'