Use winglob instead of python glob.

This commit is contained in:
voussoir 2020-01-15 22:33:44 -08:00
parent 8fc5c0e28c
commit 8eeb22d0b0

View file

@ -5,6 +5,7 @@ import glob
import sys import sys
from voussoirkit import pathclass from voussoirkit import pathclass
from voussoirkit import winglob
from voussoirkit import winwhich from voussoirkit import winwhich
EXTENSIONS = { EXTENSIONS = {
@ -47,7 +48,7 @@ def ffaudios(input_filename, moveto=None):
def ffaudios_argparse(args): def ffaudios_argparse(args):
for pattern in args.input_filename: for pattern in args.input_filename:
for input_filename in glob.glob(pattern): for input_filename in winglob.glob(pattern):
ffaudios(input_filename, moveto=args.moveto) ffaudios(input_filename, moveto=args.moveto)
def main(argv): def main(argv):