From 6a1073e488da90f29ad79a7bced719adc7c11eef Mon Sep 17 00:00:00 2001 From: Justin Date: Sat, 26 Nov 2022 20:46:40 -0500 Subject: [PATCH] Fix issue with revoking clients on shutdown --- evilportal/projects/evilportal/src/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evilportal/projects/evilportal/src/module.py b/evilportal/projects/evilportal/src/module.py index 79a05fa..43af46c 100755 --- a/evilportal/projects/evilportal/src/module.py +++ b/evilportal/projects/evilportal/src/module.py @@ -139,7 +139,7 @@ def _stop_evilportal() -> bool: if os.path.exists(_CLIENTS_FILE): with open(_CLIENTS_FILE, 'r') as f: for line in f.readlines(): - _revoke_client(line) + _revoke_client(line.strip()) os.unlink(_CLIENTS_FILE)