typo
parent
7c369e72d4
commit
814a8ae2f3
|
|
@ -143,10 +143,10 @@ class Parser(threading.Thread):
|
||||||
log("raw transcript:", result)
|
log("raw transcript:", result)
|
||||||
result = result.replace(">>", "")
|
result = result.replace(">>", "")
|
||||||
for pair in [
|
for pair in [
|
||||||
("[", "]")
|
("[", "]"),
|
||||||
("(", ")")
|
("(", ")"),
|
||||||
("<", ">")
|
("<", ">"),
|
||||||
("*", "*")
|
("*", "*"),
|
||||||
]:
|
]:
|
||||||
result = "".join([i.split(pair[1])[-1] for i in result.split(pair[0])[0]])
|
result = "".join([i.split(pair[1])[-1] for i in result.split(pair[0])[0]])
|
||||||
if os.environ.get("DEBUG", None):
|
if os.environ.get("DEBUG", None):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue