digital: fixup QA python code for pmt import