Skip to content

Commit 37ebee3

Browse files
committed
black
1 parent a0355cf commit 37ebee3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sphinx_runpython/tools/img_export.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ def images2pdf(
6161
convert(all_images, outputstream=st, with_pdfrw=False)
6262
except TypeError as e:
6363
raise TypeError(
64-
f"Unable to process container type {type(all_images)} and type {type(all_images[0])}."
65-
)
64+
f"Unable to process container type {type(all_images)} "
65+
f"and type {type(all_images[0])}."
66+
) from e
6667

6768
if close:
6869
st.close()

0 commit comments

Comments
 (0)