forked from josch/img2pdf
1
0
Fork 0

sort globbing result on windows

main
parent 3d7e0e6812
commit 91e3a94c3d
Signed by untrusted user: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -2414,7 +2414,7 @@ def input_images(path_expr):
# paths without wildcards that do not exist will trigger "does not exist"
from glob import glob
paths = glob(path_expr)
paths = sorted(glob(path_expr))
for path in paths:
try:
if os.path.getsize(path) == 0:

Loading…
Cancel
Save