Skip to content

pdfdump fails to open tmp file #325

@Lapin-Blanc

Description

@Lapin-Blanc

Trying to use pkt.pdfdump() fires an error about "random_filename.pdf.pdf" not found.
If I change line 417 in packet.py
subprocess.Popen([conf.prog.pdfreader, fname+".pdf"])
to
subprocess.Popen([conf.prog.pdfreader, fname])
then it works fine. I guess it has to do with the autoext argument used above this line

Hope this will help...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions