From aacfe7e9c0f7cb2f9b618d2dfa68ec381a53fc3a Mon Sep 17 00:00:00 2001 From: Giuseppe De Marco Date: Tue, 19 May 2020 19:03:22 +0200 Subject: [PATCH] Update filesig.py --- filesig/filesig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesig/filesig.py b/filesig/filesig.py index d581b31..34171ac 100644 --- a/filesig/filesig.py +++ b/filesig/filesig.py @@ -15,7 +15,7 @@ stdout = subprocess.PIPE, stderr = subprocess.PIPE) stdout, stderr = proc_pdfsig.communicate() -if stderr: +if stdout: print(stdout.decode()) print(stderr.decode()) raise Exception(('pdfsig is not installed.'