summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/extract.py1
-rwxr-xr-xscript/testauthenticator.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/script/extract.py b/script/extract.py
index 3ab3b53..a54f992 100755
--- a/script/extract.py
+++ b/script/extract.py
@@ -30,7 +30,6 @@ import re
from argparse import ArgumentParser
from base64 import b64encode
from datetime import datetime
-from glob import glob
from itertools import islice
from mailbox import Maildir, MaildirMessage
from os import environ, getpid, path, setuid
diff --git a/script/testauthenticator.py b/script/testauthenticator.py
index fa7a1ac..faf4f56 100755
--- a/script/testauthenticator.py
+++ b/script/testauthenticator.py
@@ -10,7 +10,7 @@ VALID_PW = b"12345"
def main():
with os.fdopen(3, "rb", buffering=0) as authfd:
- inp = authfd.read(511)
+ inp = authfd.readall()
u, p, *r = inp.split(b"\0")
if len(r) > 2: