MuGeminorum commited on
Commit
0fa5aec
1 Parent(s): f401070

try decouple cmds

Browse files
Files changed (1) hide show
  1. convert.py +1 -1
convert.py CHANGED
@@ -63,7 +63,7 @@ def add_title_to_xml(xml_path: str, title: str):
63
 
64
  def xml2abc(xml_path: str):
65
  result = subprocess.run(
66
- f"python xml2abc.py {xml_path}", stdout=subprocess.PIPE, text=True
67
  )
68
  if result.returncode == 0:
69
  return result.stdout
 
63
 
64
  def xml2abc(xml_path: str):
65
  result = subprocess.run(
66
+ ["python", "xml2abc.py", xml_path], stdout=subprocess.PIPE, text=True
67
  )
68
  if result.returncode == 0:
69
  return result.stdout