diff --git a/markup/tasks.py b/markup/tasks.py index afd672e..be3f318 100644 --- a/markup/tasks.py +++ b/markup/tasks.py @@ -65,6 +65,7 @@ def process_message(path): def process_attachment(from_address, subject, attachment): # write out pdf pdf_name = attachment.get_filename() + pdf_name = str(make_header(decode_header(pdf_name))) pdf_base = Path(pdf_name).stem workdir = os.path.join(WORKDIR, clean_path(from_address), pdf_base)