Skip to content

Commit 5a3c448

Browse files
committed
fix pylint
1 parent 433737a commit 5a3c448

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ rich-argparse>=1.7.0
22
pyOpenSSL>=25.0.0
33
requests>=2.31.0
44
Flask>=3.1.0
5-
Flask-HTTPAuth>=4.8.0
5+
Flask-HTTPAuth>=4.8.0
6+
psutil>=5.9.8

utils/proxy/monitoring/web.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ def get_active_connections(self) -> List[Dict[str, Union[int, Dict]]]:
224224
def verify_password(username, password):
225225
if username in users and check_password_hash(users.get(username), password):
226226
return username
227+
return None
227228

228229
app = Flask(__name__, static_folder='static')
229230
if not debug:

0 commit comments

Comments
 (0)