summaryrefslogtreecommitdiff
path: root/cutter.py
diff options
context:
space:
mode:
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),