* morituri/rip/image.py:

Don't splitext on inputdir; fixes encoding of directories like
	  Sigur Ros - Takk... (which removed a period)
This commit is contained in:
Thomas Vander Stichele
2010-04-10 23:01:54 +00:00
parent c34546d70a
commit b3aa22194b
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2010-04-11 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/rip/image.py:
Don't splitext on inputdir; fixes encoding of directories like
Sigur Ros - Takk... (which removed a period)
2010-04-09 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/image/table.py:

View File

@@ -67,7 +67,7 @@ class Encode(logcommand.LogCommand):
cueImage = image.Image(arg)
cueImage.setup(runner)
# FIXME: find a decent way to get an album-specific outdir
root, ext = os.path.splitext(os.path.basename(indir))
root = os.path.basename(indir)
outdir = os.path.join(prog.outdir, root)
try:
os.makedirs(outdir)