mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-17 19:19:16 +01:00
Fix txtp_maker for filenames with spaces
This commit is contained in:
parent
c7f2b53d45
commit
98fba5b2c6
@ -79,9 +79,9 @@ def find_files(dir, pattern, recursive):
|
|||||||
|
|
||||||
def make_cmd(cfg, fname_in, fname_out, target_subsong):
|
def make_cmd(cfg, fname_in, fname_out, target_subsong):
|
||||||
if (cfg.test_dupes):
|
if (cfg.test_dupes):
|
||||||
cmd = "{} -s {} -i -o {} {}".format(cfg.cli, target_subsong, fname_out, fname_in)
|
cmd = "{} -s {} -i -o \"{}\" \"{}\"".format(cfg.cli, target_subsong, fname_out, fname_in)
|
||||||
else:
|
else:
|
||||||
cmd = "{} -s {} -m -i -o {} {}".format(cfg.cli, target_subsong, fname_out, fname_in)
|
cmd = "{} -s {} -m -i -o \"{}\" \"{}\"".format(cfg.cli, target_subsong, fname_out, fname_in)
|
||||||
return cmd
|
return cmd
|
||||||
|
|
||||||
class LogHelper(object):
|
class LogHelper(object):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user