Skip to content

Commit

Permalink
Fix passing list of files as arg
Browse files Browse the repository at this point in the history
  • Loading branch information
okorach committed Nov 30, 2024
1 parent 03ce456 commit 03766b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mediatools/encode.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def main():

kwargs = util.parse_media_args(parser)

file_list = fil.file_list(kwargs['inputfiles'])
file_list = fil.file_list(*kwargs['inputfiles'])
nb_files = len(file_list)
for i in range(nb_files):
log.logger.info("%3d/%3d : %3d%% : %s", i + 1, nb_files, (i + 1) * 100 // nb_files, file_list[i])
Expand Down

0 comments on commit 03766b8

Please sign in to comment.