mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-07 20:29:34 +01:00
Fixed a typo in searcher.py that was causing the preprocesstorrent function to hang
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user