From 623ca3b0e4210c6b02c9104444577c2b6d3f6904 Mon Sep 17 00:00:00 2001 From: tjkessler Date: Sat, 8 Jun 2019 11:20:14 -0400 Subject: [PATCH] PaDEL exception now decoded from bytes --- padelpy/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/padelpy/wrapper.py b/padelpy/wrapper.py index b1ac9dc..c1e63da 100644 --- a/padelpy/wrapper.py +++ b/padelpy/wrapper.py @@ -121,6 +121,6 @@ def padeldescriptor(maxruntime: int=-1, waitingjobs: int=-1, threads: int=-1, _, err = p.communicate() if err != b'': raise RuntimeError('PaDEL-Descriptor encountered an error: {}'.format( - err + err.decode('utf-8') )) return