Upd: one proxy can maintain the many networks
This commit is contained in:
parent
03dc15deb9
commit
388d4c657e
@ -74,9 +74,6 @@ class Proxy:
|
|||||||
content += f'\tif (shExpMatch(h, "{target}")) return true;\n'
|
content += f'\tif (shExpMatch(h, "{target}")) return true;\n'
|
||||||
return f'{content}\treturn false;\n}}'
|
return f'{content}\treturn false;\n}}'
|
||||||
|
|
||||||
def __hash__(self):
|
|
||||||
return abs(hash(str(self)))
|
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return f'PROXY {self.__host}:{self.__port}'
|
return f'PROXY {self.__host}:{self.__port}'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user