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 8afe1d98b4
commit 123a7d2808
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)