From b1c1f13dff65f6da93156ef6d9b8acfd83702105 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Fri, 23 Nov 2012 13:56:07 -0500 Subject: [PATCH] Fix for post processor hanging when doing a forced post process and a match is found based on folder name --- headphones/postprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index eb093344..716b2ace 100644 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -828,7 +828,7 @@ def forcePostProcess(): logger.info('Processing: %s' % folder_basename) # First try to see if there's a match in the snatched table, then we'll try to parse the foldername - snatched = myDB.action('SELECT AlbumID, Title from snatched WHERE FolderName LIKE ?', [folder_basename]) + snatched = myDB.action('SELECT AlbumID, Title from snatched WHERE FolderName LIKE ?', [folder_basename]).fetchone() if snatched: logger.info('Found a match in the database: %s. Verifying to make sure it is the correct album' % snatched['Title']) verify(snatched['AlbumID'], folder)