Fixed a typo in searcher.py that was causing the preprocesstorrent function to hang

This commit is contained in:
rembo10
2013-07-31 21:40:57 +05:30
parent 7ca52d1703
commit 60afd1279d
2 changed files with 2 additions and 2 deletions

View File

@@ -372,7 +372,7 @@ def initialize():
MOVE_FILES = bool(check_setting_int(CFG, 'General', 'move_files', 0))
RENAME_FILES = bool(check_setting_int(CFG, 'General', 'rename_files', 0))
FOLDER_FORMAT = check_setting_str(CFG, 'General', 'folder_format', 'Artist/Album [Year]')
FILE_FORMAT = check_setting_str(CFG, 'General', 'file_format', 'Track Artist - Album [Year]- Title')
FILE_FORMAT = check_setting_str(CFG, 'General', 'file_format', 'Track Artist - Album [Year] - Title')
CLEANUP_FILES = bool(check_setting_int(CFG, 'General', 'cleanup_files', 0))
ADD_ALBUM_ART = bool(check_setting_int(CFG, 'General', 'add_album_art', 0))
ALBUM_ART_FORMAT = check_setting_str(CFG, 'General', 'album_art_format', 'folder')

View File

@@ -1437,7 +1437,7 @@ def preprocesstorrent(resultlist, pre_sorted_list=False):
return True, result
try:
request = urllib2.Request(selresult[2])
request = urllib2.Request(result[2])
request.add_header('Accept-encoding', 'gzip')
if result[3] == 'Kick Ass Torrent':