From 388d4c657e3bf4c3c3e75e1a7b5ee8e9419ccd89 Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Wed, 29 May 2024 23:37:39 +0300 Subject: [PATCH] Upd: one proxy can maintain the many networks --- app/models.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/models.py b/app/models.py index cc23c86..f649d2d 100644 --- a/app/models.py +++ b/app/models.py @@ -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}'