diff options
| author | Mikhail Osipov <mike.osipov@gmail.com> | 2013-11-10 20:39:54 +0400 |
|---|---|---|
| committer | Mikhail Osipov <mike.osipov@gmail.com> | 2013-11-10 20:39:54 +0400 |
| commit | 9395fd52ec9fbdf87cf5e3f39fbbcb3b6a3e2be2 (patch) | |
| tree | a814ead176570fc7d4418d9f25db40c01f052c47 /cutter/splitter.py | |
| parent | 3e13d3647c238f820428a66fc20049cf873510a0 (diff) | |
wav decode without popen
Diffstat (limited to 'cutter/splitter.py')
| -rw-r--r-- | cutter/splitter.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cutter/splitter.py b/cutter/splitter.py index 18bfecb..e00cdf2 100644 --- a/cutter/splitter.py +++ b/cutter/splitter.py @@ -191,13 +191,13 @@ class Splitter: debug("skip file %s: no tracks", quote(file.name)) continue - path = self.cue.dir + file.name + path = os.path.join(self.cue.dir, file.name) if not os.path.exists(path): real = self.find_realfile(file.name) if not real: printerr("no such file %s", quote(file.name)) sys.exit(1) - path = self.cue.dir + real + path = os.path.join(self.cue.dir, real) lst.append(self.File(file, path)) @@ -271,8 +271,8 @@ class Splitter: def print_command_error(name, stream): status, msg = stream.get_status() - cmd = stream.get_command() - printerr("%s failed (%s), command: %s", name, status, cmd) + cmd = stream.describe() + printerr("%s failed (%s), cmd: %s", name, status, cmd) for line in msg.split("\n"): if len(line): printf("> %s\n", line) |
