From 4e26b9d4e7b42c9f00d033a140199139d8b15208 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 20 Jan 2020 14:55:42 +0100 Subject: [PATCH] Undefined name: errlog = '' --- dedrm_src/scriptinterface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dedrm_src/scriptinterface.py b/dedrm_src/scriptinterface.py index ec86b13..6154a2a 100644 --- a/dedrm_src/scriptinterface.py +++ b/dedrm_src/scriptinterface.py @@ -114,6 +114,7 @@ def decryptpdf(infile, outdir, rscpath): def decryptpdb(infile, outdir, rscpath): + errlog = '' outname = os.path.splitext(os.path.basename(infile))[0] + ".pmlz" outpath = os.path.join(outdir, outname) rv = 1