Commit 66e4279a774aea5b996c62b321ce94e7e7296fdf

Authored by quillotm
1 parent 83e2994d06
Exists in master

Little error solved

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

... ... @@ -12,7 +12,7 @@
12 12 with open(outfile, "w") as f:
13 13 for id_ in lst_:
14 14 # Split id
15   - splited = id_.split(",")
  15 + splited = id_.replace("\n", "").split(",")
16 16  
17 17 # Get language
18 18 language = None
... ... @@ -20,6 +20,8 @@
20 20 language = "english"
21 21 elif splited[0] == "":
22 22 language = "french"
  23 + print(splited[0])
  24 + print(language)
23 25  
24 26 # Create wav filename
25 27 splited3 = splited[3].split(".")