]> xmof Git - DeDRM.git/commitdiff
Undefined name: errlog = ''
authorChristian Clauss <cclauss@me.com>
Mon, 20 Jan 2020 13:55:42 +0000 (14:55 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2020 13:55:42 +0000 (14:55 +0100)
dedrm_src/scriptinterface.py

index ec86b130c898b190b59527eed73378c72c50494b..6154a2ac23191d426173a854dbf84739e2bbd22d 100644 (file)
@@ -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