forked from josch/img2pdf
Merge branch 'main' into png-alpha-to-smask
This commit is contained in:
commit
6fbb6cd60d
1 changed files with 1 additions and 1 deletions
|
@ -2510,7 +2510,7 @@ def input_images(path_expr):
|
||||||
# paths without wildcards that do not exist will trigger "does not exist"
|
# paths without wildcards that do not exist will trigger "does not exist"
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
|
||||||
paths = glob(path_expr)
|
paths = sorted(glob(path_expr))
|
||||||
for path in paths:
|
for path in paths:
|
||||||
try:
|
try:
|
||||||
if os.path.getsize(path) == 0:
|
if os.path.getsize(path) == 0:
|
||||||
|
|
Loading…
Reference in a new issue