summaryrefslogtreecommitdiff
path: root/cutter.py
diff options
context:
space:
mode:
authorMikhail Osipov <mike.osipov@gmail.com>2013-11-10 20:39:54 +0400
committerMikhail Osipov <mike.osipov@gmail.com>2013-11-10 20:39:54 +0400
commit9395fd52ec9fbdf87cf5e3f39fbbcb3b6a3e2be2 (patch)
treea814ead176570fc7d4418d9f25db40c01f052c47 /cutter.py
parent3e13d3647c238f820428a66fc20049cf873510a0 (diff)
wav decode without popen
Diffstat (limited to 'cutter.py')
-rwxr-xr-xcutter.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cutter.py b/cutter.py
index 5dcad53..6b0cbcd 100755
--- a/cutter.py
+++ b/cutter.py
@@ -250,7 +250,7 @@ def find_cuefile(path):
for file in os.listdir(path):
fullname = os.path.join(path, file)
if os.path.isfile(fullname) and file.endswith(".cue"):
- return fullname
+ return os.path.normpath(fullname)
printerr("no cue file")
sys.exit(1)
@@ -294,8 +294,6 @@ def main():
return 1
cuesheet.dir = os.path.dirname(cuepath)
- if cuesheet.dir:
- cuesheet.dir += "/"
switch(options.dump, {
"cue": lambda: print_cue(cuesheet),