Commit 4d4eaadf41a8a2d76230f3ef556dee77042cb355
1 parent
a36206bdd1
Exists in
master
Solve issue
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
volia/skyrim.py
... | ... | @@ -35,7 +35,7 @@ |
35 | 35 | lst_ = read_lst(lst) |
36 | 36 | |
37 | 37 | with open(outfile, "w") as f: |
38 | - for id_ in lst: | |
38 | + for id_ in lst_: | |
39 | 39 | splited = id_.split(",") |
40 | 40 | spk_id = splited[0] + "-" + splited[1] |
41 | 41 | f.write(id_ + " " + spk_id + "\n") |
... | ... | @@ -45,7 +45,7 @@ |
45 | 45 | lst_ = read_lst(lst) |
46 | 46 | |
47 | 47 | with open(outfile, "w") as f: |
48 | - for id_ in lst: | |
48 | + for id_ in lst_: | |
49 | 49 | splited = id_.split(",") |
50 | 50 | char_id = splited[1] |
51 | 51 | f.write(id_ + " " + char_id + "\n") |
... | ... | @@ -81,7 +81,7 @@ |
81 | 81 | |
82 | 82 | # Run commands |
83 | 83 | runner = SubCommandRunner({ |
84 | - "lst2wav" : lst2wav, | |
84 | + "lst2wav": lst2wav, | |
85 | 85 | "utt2spk": utt2spk, |
86 | 86 | "utt2char": utt2char |
87 | 87 | }) |