Skip to content

Commit

Permalink
PaDEL exception now decoded from bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
tjkessler committed Jun 8, 2019
1 parent d7feab3 commit 623ca3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padelpy/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 623ca3b

Please sign in to comment.