txtp segmenter: fix multiple files

This commit is contained in:
bnnm 2023-04-29 22:43:51 +02:00
parent 2ca0c1746a
commit 83f22295d6

View File

@ -78,7 +78,7 @@ def get_txtp_name(args, file):
txtp_name = os.path.splitext(os.path.basename(file))[0]
else:
txtp_name = os.path.splitext(os.path.basename(args.files))[0]
txtp_name = os.path.splitext(os.path.basename(file))[0]
txtp_name = txtp_name.replace('*', '')
txtp_name = txtp_name.replace('?', '')