1
0
Fork 0
forked from josch/img2pdf

src/img2pdf.py: tiny logic error

This commit is contained in:
Johannes 'josch' Schauer 2020-06-06 01:19:13 +02:00
parent 802dd4b1f3
commit 663010ca61
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -625,7 +625,7 @@ class pdfdoc(object):
): ):
if engine is None: if engine is None:
if have_pikepdf: if have_pikepdf:
engine = Engine.pdfrw engine = Engine.pikepdf
elif have_pdfrw: elif have_pdfrw:
engine = Engine.pdfrw engine = Engine.pdfrw
else: else: