Fix issue with revoking clients on shutdown

pull/72/head
Justin 2022-11-26 20:46:40 -05:00 committed by Mike Kershaw / Dragorn
parent 0b0a281ac8
commit 6a1073e488
1 changed files with 1 additions and 1 deletions

View File

@ -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)